Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BoxStyle(val fillColor: RGBA? = null, val hatchColor: RGBA? = null)

Style information for drawing a box.

Link copied to clipboard
@Serializable
enum ColorFormat : Enum<ColorFormat>

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ContainerQueryContainerHighlightConfig(val containerBorder: LineStyle? = null, val descendantBorder: LineStyle? = null)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ContainerQueryHighlightConfig(val containerQueryContainerHighlightConfig: ContainerQueryContainerHighlightConfig, val nodeId: NodeId)

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the OverlayDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the OverlayDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class FlexContainerHighlightConfig(val containerBorder: LineStyle? = null, val lineSeparator: LineStyle? = null, val itemSeparator: LineStyle? = null, val mainDistributedSpace: BoxStyle? = null, val crossDistributedSpace: BoxStyle? = null, val rowGapSpace: BoxStyle? = null, val columnGapSpace: BoxStyle? = null, val crossAlignment: LineStyle? = null)

Configuration data for the highlighting of Flex container elements.

Link copied to clipboard
@Serializable
data class FlexItemHighlightConfig(val baseSizeBox: BoxStyle? = null, val baseSizeBorder: LineStyle? = null, val flexibilityArrow: LineStyle? = null)

Configuration data for the highlighting of Flex item elements.

Link copied to clipboard
@Serializable
data class FlexNodeHighlightConfig(val flexContainerHighlightConfig: FlexContainerHighlightConfig, val nodeId: NodeId)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class GetGridHighlightObjectsForTestRequest(val nodeIds: List<NodeId>)

Request object containing input parameters for the OverlayDomain.getGridHighlightObjectsForTest command.

Link copied to clipboard
@Serializable
data class GetGridHighlightObjectsForTestResponse(val highlights: JsonObject)

Response type for the OverlayDomain.getGridHighlightObjectsForTest command.

Link copied to clipboard
@Serializable
data class GetHighlightObjectForTestRequest(val nodeId: NodeId, val includeDistance: Boolean? = null, val includeStyle: Boolean? = null, val colorFormat: ColorFormat? = null, val showAccessibilityInfo: Boolean? = null)

Request object containing input parameters for the OverlayDomain.getHighlightObjectForTest command.

Link copied to clipboard
@Serializable
data class GetHighlightObjectForTestResponse(val highlight: JsonObject)

Response type for the OverlayDomain.getHighlightObjectForTest command.

@Serializable
data class GetSourceOrderHighlightObjectForTestRequest(val nodeId: NodeId)

Request object containing input parameters for the OverlayDomain.getSourceOrderHighlightObjectForTest command.

@Serializable
data class GetSourceOrderHighlightObjectForTestResponse(val highlight: JsonObject)
Link copied to clipboard
@Serializable
data class GridHighlightConfig(val showGridExtensionLines: Boolean? = null, val showPositiveLineNumbers: Boolean? = null, val showNegativeLineNumbers: Boolean? = null, val showAreaNames: Boolean? = null, val showLineNames: Boolean? = null, val showTrackSizes: Boolean? = null, val gridBorderColor: RGBA? = null, val cellBorderColor: RGBA? = null, val rowLineColor: RGBA? = null, val columnLineColor: RGBA? = null, val gridBorderDash: Boolean? = null, val cellBorderDash: Boolean? = null, val rowLineDash: Boolean? = null, val columnLineDash: Boolean? = null, val rowGapColor: RGBA? = null, val rowHatchColor: RGBA? = null, val columnGapColor: RGBA? = null, val columnHatchColor: RGBA? = null, val areaBorderColor: RGBA? = null, val gridBackgroundColor: RGBA? = null)

Configuration data for the highlighting of Grid elements.

Link copied to clipboard
@Serializable
data class GridNodeHighlightConfig(val gridHighlightConfig: GridHighlightConfig, val nodeId: NodeId)

Configurations for Persistent Grid Highlight

Link copied to clipboard
@Serializable
object HideHighlightResponse

A dummy response object for the OverlayDomain.hideHighlight command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HighlightConfig(val showInfo: Boolean? = null, val showStyles: Boolean? = null, val showRulers: Boolean? = null, val showAccessibilityInfo: Boolean? = null, val showExtensionLines: Boolean? = null, val contentColor: RGBA? = null, val paddingColor: RGBA? = null, val borderColor: RGBA? = null, val marginColor: RGBA? = null, val eventTargetColor: RGBA? = null, val shapeColor: RGBA? = null, val shapeMarginColor: RGBA? = null, val cssGridColor: RGBA? = null, val colorFormat: ColorFormat? = null, val gridHighlightConfig: GridHighlightConfig? = null, val flexContainerHighlightConfig: FlexContainerHighlightConfig? = null, val flexItemHighlightConfig: FlexItemHighlightConfig? = null, val contrastAlgorithm: ContrastAlgorithm? = null, val containerQueryContainerHighlightConfig: ContainerQueryContainerHighlightConfig? = null)

Configuration data for the highlighting of page elements.

Link copied to clipboard
@Serializable
data class HighlightFrameRequest(val frameId: FrameId, val contentColor: RGBA? = null, val contentOutlineColor: RGBA? = null)

Request object containing input parameters for the OverlayDomain.highlightFrame command.

Link copied to clipboard
@Serializable
object HighlightFrameResponse

A dummy response object for the OverlayDomain.highlightFrame command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HighlightNodeRequest(val highlightConfig: HighlightConfig, val nodeId: NodeId? = null, val backendNodeId: BackendNodeId? = null, val objectId: RemoteObjectId? = null, val selector: String? = null)

Request object containing input parameters for the OverlayDomain.highlightNode command.

Link copied to clipboard
@Serializable
object HighlightNodeResponse

A dummy response object for the OverlayDomain.highlightNode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HighlightQuadRequest(val quad: Quad, val color: RGBA? = null, val outlineColor: RGBA? = null)

Request object containing input parameters for the OverlayDomain.highlightQuad command.

Link copied to clipboard
@Serializable
object HighlightQuadResponse

A dummy response object for the OverlayDomain.highlightQuad command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HighlightRectRequest(val x: Int, val y: Int, val width: Int, val height: Int, val color: RGBA? = null, val outlineColor: RGBA? = null)

Request object containing input parameters for the OverlayDomain.highlightRect command.

Link copied to clipboard
@Serializable
object HighlightRectResponse

A dummy response object for the OverlayDomain.highlightRect command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HighlightSourceOrderRequest(val sourceOrderConfig: SourceOrderConfig, val nodeId: NodeId? = null, val backendNodeId: BackendNodeId? = null, val objectId: RemoteObjectId? = null)

Request object containing input parameters for the OverlayDomain.highlightSourceOrder command.

Link copied to clipboard
@Serializable
object HighlightSourceOrderResponse

A dummy response object for the OverlayDomain.highlightSourceOrder command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class HingeConfig(val rect: Rect, val contentColor: RGBA? = null, val outlineColor: RGBA? = null)

Configuration for dual screen hinge

Link copied to clipboard
@Serializable
enum InspectMode : Enum<InspectMode>

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class IsolatedElementHighlightConfig(val isolationModeHighlightConfig: IsolationModeHighlightConfig, val nodeId: NodeId)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class IsolationModeHighlightConfig(val resizerColor: RGBA? = null, val resizerHandleColor: RGBA? = null, val maskColor: RGBA? = null)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class LineStyle(val color: RGBA? = null, val pattern: LineStylePattern? = null)

Style information for drawing a line.

Link copied to clipboard
@Serializable
enum LineStylePattern : Enum<LineStylePattern>

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

Link copied to clipboard

This domain provides various functionality related to drawing atop the inspected page.

Link copied to clipboard
@Serializable
data class ScrollSnapContainerHighlightConfig(val snapportBorder: LineStyle? = null, val snapAreaBorder: LineStyle? = null, val scrollMarginColor: RGBA? = null, val scrollPaddingColor: RGBA? = null)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ScrollSnapHighlightConfig(val scrollSnapContainerHighlightConfig: ScrollSnapContainerHighlightConfig, val nodeId: NodeId)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class SetInspectModeRequest(val mode: InspectMode, val highlightConfig: HighlightConfig? = null)

Request object containing input parameters for the OverlayDomain.setInspectMode command.

Link copied to clipboard
@Serializable
object SetInspectModeResponse

A dummy response object for the OverlayDomain.setInspectMode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetPausedInDebuggerMessageRequest(val message: String? = null)

Request object containing input parameters for the OverlayDomain.setPausedInDebuggerMessage command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setPausedInDebuggerMessage command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowAdHighlightsRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowAdHighlights command.

Link copied to clipboard
@Serializable
object SetShowAdHighlightsResponse

A dummy response object for the OverlayDomain.setShowAdHighlights command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowContainerQueryOverlaysRequest(val containerQueryHighlightConfigs: List<ContainerQueryHighlightConfig>)

Request object containing input parameters for the OverlayDomain.setShowContainerQueryOverlays command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowContainerQueryOverlays command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowDebugBordersRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowDebugBorders command.

Link copied to clipboard
@Serializable
object SetShowDebugBordersResponse

A dummy response object for the OverlayDomain.setShowDebugBorders command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowFlexOverlaysRequest(val flexNodeHighlightConfigs: List<FlexNodeHighlightConfig>)

Request object containing input parameters for the OverlayDomain.setShowFlexOverlays command.

Link copied to clipboard
@Serializable
object SetShowFlexOverlaysResponse

A dummy response object for the OverlayDomain.setShowFlexOverlays command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowFPSCounterRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowFPSCounter command.

Link copied to clipboard
@Serializable
object SetShowFPSCounterResponse

A dummy response object for the OverlayDomain.setShowFPSCounter command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowGridOverlaysRequest(val gridNodeHighlightConfigs: List<GridNodeHighlightConfig>)

Request object containing input parameters for the OverlayDomain.setShowGridOverlays command.

Link copied to clipboard
@Serializable
object SetShowGridOverlaysResponse

A dummy response object for the OverlayDomain.setShowGridOverlays command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowHingeRequest(val hingeConfig: HingeConfig? = null)

Request object containing input parameters for the OverlayDomain.setShowHinge command.

Link copied to clipboard
@Serializable
object SetShowHingeResponse

A dummy response object for the OverlayDomain.setShowHinge command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowHitTestBordersRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowHitTestBorders command.

Link copied to clipboard
@Serializable
object SetShowHitTestBordersResponse

A dummy response object for the OverlayDomain.setShowHitTestBorders command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowIsolatedElementsRequest(val isolatedElementHighlightConfigs: List<IsolatedElementHighlightConfig>)

Request object containing input parameters for the OverlayDomain.setShowIsolatedElements command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowIsolatedElements command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowLayoutShiftRegionsRequest(val result: Boolean)

Request object containing input parameters for the OverlayDomain.setShowLayoutShiftRegions command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowLayoutShiftRegions command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowPaintRectsRequest(val result: Boolean)

Request object containing input parameters for the OverlayDomain.setShowPaintRects command.

Link copied to clipboard
@Serializable
object SetShowPaintRectsResponse

A dummy response object for the OverlayDomain.setShowPaintRects command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowScrollBottleneckRectsRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowScrollBottleneckRects command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowScrollBottleneckRects command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowScrollSnapOverlaysRequest(val scrollSnapHighlightConfigs: List<ScrollSnapHighlightConfig>)

Request object containing input parameters for the OverlayDomain.setShowScrollSnapOverlays command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowScrollSnapOverlays command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowViewportSizeOnResizeRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowViewportSizeOnResize command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowViewportSizeOnResize command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowWebVitalsRequest(val show: Boolean)

Request object containing input parameters for the OverlayDomain.setShowWebVitals command.

Link copied to clipboard
@Serializable
object SetShowWebVitalsResponse

A dummy response object for the OverlayDomain.setShowWebVitals command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetShowWindowControlsOverlayRequest(val windowControlsOverlayConfig: WindowControlsOverlayConfig? = null)

Request object containing input parameters for the OverlayDomain.setShowWindowControlsOverlay command.

Link copied to clipboard

A dummy response object for the OverlayDomain.setShowWindowControlsOverlay command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SourceOrderConfig(val parentOutlineColor: RGBA, val childOutlineColor: RGBA)

Configuration data for drawing the source order of an elements children.

Link copied to clipboard
@Serializable
data class WindowControlsOverlayConfig(val showCSS: Boolean, val selectedPlatform: String, val themeColor: String)

Configuration for Window Controls Overlay