Module overlay

Module overlay 

Source
Available on crate features experimental and Overlay and DOM and Page and Runtime only.
Expand description

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

Structs§

BoxStyle
Style information for drawing a box.
DisableCommand
Disables domain notifications.
DisableReturn
Disables domain notifications.
EnableCommand
Enables domain notifications.
EnableReturn
Enables domain notifications.
FlexContainerHighlightConfig
Configuration data for the highlighting of Flex container elements.
FlexContainerHighlightConfigBuilder
FlexItemHighlightConfig
Configuration data for the highlighting of Flex item elements.
FlexNodeHighlightConfig
GetGridHighlightObjectsForTestCommand
For Persistent Grid testing.
GetGridHighlightObjectsForTestReturn
For Persistent Grid testing.
GetGridHighlightObjectsForTestReturnHighlights
GetHighlightObjectForTestCommand
For testing.
GetHighlightObjectForTestCommandBuilder
GetHighlightObjectForTestReturn
For testing.
GetHighlightObjectForTestReturnHighlight
GetSourceOrderHighlightObjectForTestCommand
For Source Order Viewer testing.
GetSourceOrderHighlightObjectForTestReturn
For Source Order Viewer testing.
GetSourceOrderHighlightObjectForTestReturnHighlight
GridHighlightConfig
Configuration data for the highlighting of Grid elements.
GridHighlightConfigBuilder
GridNodeHighlightConfig
Configurations for Persistent Grid Highlight
HideHighlightCommand
Hides any highlight.
HideHighlightReturn
Hides any highlight.
HighlightConfig
Configuration data for the highlighting of page elements.
HighlightConfigBuilder
HighlightFrameCommand
Highlights owner element of the frame with given id.
HighlightFrameReturn
Highlights owner element of the frame with given id.
HighlightNodeCommand
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
HighlightNodeCommandBuilder
HighlightNodeReturn
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
HighlightQuadCommand
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
HighlightQuadReturn
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
HighlightRectCommand
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
HighlightRectCommandBuilder
HighlightRectReturn
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
HighlightSourceOrderCommand
Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
HighlightSourceOrderCommandBuilder
HighlightSourceOrderReturn
Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
HingeConfig
Configuration for dual screen hinge
InspectModeCanceledEvent
Fired when user cancels the inspect mode.
InspectNodeRequestedEvent
Fired when the node should be inspected. This happens after call to setInspectMode or when user manually inspects an element.
LineStyle
Style information for drawing a line.
NodeHighlightRequestedEvent
Fired when the node should be highlighted. This happens after call to setInspectMode.
ScreenshotRequestedEvent
Fired when user asks to capture screenshot of some area on the page.
ScrollSnapContainerHighlightConfig
ScrollSnapContainerHighlightConfigBuilder
ScrollSnapHighlightConfig
SetInspectModeCommand
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
SetInspectModeReturn
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
SetPausedInDebuggerMessageCommand
SetPausedInDebuggerMessageReturn
SetShowAdHighlightsCommand
Highlights owner element of all frames detected to be ads.
SetShowAdHighlightsReturn
Highlights owner element of all frames detected to be ads.
SetShowDebugBordersCommand
Requests that backend shows debug borders on layers
SetShowDebugBordersReturn
Requests that backend shows debug borders on layers
SetShowFlexOverlaysCommand
SetShowFlexOverlaysReturn
SetShowFpsCounterCommand
Requests that backend shows the FPS counter
SetShowFpsCounterReturn
Requests that backend shows the FPS counter
SetShowGridOverlaysCommand
Highlight multiple elements with the CSS Grid overlay.
SetShowGridOverlaysReturn
Highlight multiple elements with the CSS Grid overlay.
SetShowHingeCommand
Add a dual screen device hinge
SetShowHingeReturn
Add a dual screen device hinge
SetShowHitTestBordersCommand
Requests that backend shows hit-test borders on layers
SetShowHitTestBordersReturn
Requests that backend shows hit-test borders on layers
SetShowLayoutShiftRegionsCommand
Requests that backend shows layout shift regions
SetShowLayoutShiftRegionsReturn
Requests that backend shows layout shift regions
SetShowPaintRectsCommand
Requests that backend shows paint rectangles
SetShowPaintRectsReturn
Requests that backend shows paint rectangles
SetShowScrollBottleneckRectsCommand
Requests that backend shows scroll bottleneck rects
SetShowScrollBottleneckRectsReturn
Requests that backend shows scroll bottleneck rects
SetShowScrollSnapOverlaysCommand
SetShowScrollSnapOverlaysReturn
SetShowViewportSizeOnResizeCommand
Paints viewport size upon main frame resize.
SetShowViewportSizeOnResizeReturn
Paints viewport size upon main frame resize.
SetShowWebVitalsCommand
Request that backend shows an overlay with web vital metrics.
SetShowWebVitalsReturn
Request that backend shows an overlay with web vital metrics.
SourceOrderConfig
Configuration data for drawing the source order of an elements children.

Enums§

ColorFormat
ContrastAlgorithm
InspectMode
LineStylePattern