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.
- Disable
Command - Disables domain notifications.
- Disable
Return - Disables domain notifications.
- Enable
Command - Enables domain notifications.
- Enable
Return - Enables domain notifications.
- Flex
Container Highlight Config - Configuration data for the highlighting of Flex container elements.
- Flex
Container Highlight Config Builder - Flex
Item Highlight Config - Configuration data for the highlighting of Flex item elements.
- Flex
Node Highlight Config - GetGrid
Highlight Objects ForTest Command - For Persistent Grid testing.
- GetGrid
Highlight Objects ForTest Return - For Persistent Grid testing.
- GetGrid
Highlight Objects ForTest Return Highlights - GetHighlight
Object ForTest Command - For testing.
- GetHighlight
Object ForTest Command Builder - GetHighlight
Object ForTest Return - For testing.
- GetHighlight
Object ForTest Return Highlight - GetSource
Order Highlight Object ForTest Command - For Source Order Viewer testing.
- GetSource
Order Highlight Object ForTest Return - For Source Order Viewer testing.
- GetSource
Order Highlight Object ForTest Return Highlight - Grid
Highlight Config - Configuration data for the highlighting of Grid elements.
- Grid
Highlight Config Builder - Grid
Node Highlight Config - Configurations for Persistent Grid Highlight
- Hide
Highlight Command - Hides any highlight.
- Hide
Highlight Return - Hides any highlight.
- Highlight
Config - Configuration data for the highlighting of page elements.
- Highlight
Config Builder - Highlight
Frame Command - Highlights owner element of the frame with given id.
- Highlight
Frame Return - Highlights owner element of the frame with given id.
- Highlight
Node Command - Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
- Highlight
Node Command Builder - Highlight
Node Return - Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
- Highlight
Quad Command - Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
- Highlight
Quad Return - Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
- Highlight
Rect Command - Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
- Highlight
Rect Command Builder - Highlight
Rect Return - Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
- Highlight
Source Order Command - 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.
- Highlight
Source Order Command Builder - Highlight
Source Order Return - 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.
- Hinge
Config - Configuration for dual screen hinge
- Inspect
Mode Canceled Event - Fired when user cancels the inspect mode.
- Inspect
Node Requested Event - Fired when the node should be inspected. This happens after call to
setInspectModeor when user manually inspects an element. - Line
Style - Style information for drawing a line.
- Node
Highlight Requested Event - Fired when the node should be highlighted. This happens after call to
setInspectMode. - Screenshot
Requested Event - Fired when user asks to capture screenshot of some area on the page.
- Scroll
Snap Container Highlight Config - Scroll
Snap Container Highlight Config Builder - Scroll
Snap Highlight Config - SetInspect
Mode Command - Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
- SetInspect
Mode Return - Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
- SetPaused
InDebugger Message Command - SetPaused
InDebugger Message Return - SetShow
AdHighlights Command - Highlights owner element of all frames detected to be ads.
- SetShow
AdHighlights Return - Highlights owner element of all frames detected to be ads.
- SetShow
Debug Borders Command - Requests that backend shows debug borders on layers
- SetShow
Debug Borders Return - Requests that backend shows debug borders on layers
- SetShow
Flex Overlays Command - SetShow
Flex Overlays Return - SetShow
FpsCounter Command - Requests that backend shows the FPS counter
- SetShow
FpsCounter Return - Requests that backend shows the FPS counter
- SetShow
Grid Overlays Command - Highlight multiple elements with the CSS Grid overlay.
- SetShow
Grid Overlays Return - Highlight multiple elements with the CSS Grid overlay.
- SetShow
Hinge Command - Add a dual screen device hinge
- SetShow
Hinge Return - Add a dual screen device hinge
- SetShow
HitTest Borders Command - Requests that backend shows hit-test borders on layers
- SetShow
HitTest Borders Return - Requests that backend shows hit-test borders on layers
- SetShow
Layout Shift Regions Command - Requests that backend shows layout shift regions
- SetShow
Layout Shift Regions Return - Requests that backend shows layout shift regions
- SetShow
Paint Rects Command - Requests that backend shows paint rectangles
- SetShow
Paint Rects Return - Requests that backend shows paint rectangles
- SetShow
Scroll Bottleneck Rects Command - Requests that backend shows scroll bottleneck rects
- SetShow
Scroll Bottleneck Rects Return - Requests that backend shows scroll bottleneck rects
- SetShow
Scroll Snap Overlays Command - SetShow
Scroll Snap Overlays Return - SetShow
Viewport Size OnResize Command - Paints viewport size upon main frame resize.
- SetShow
Viewport Size OnResize Return - Paints viewport size upon main frame resize.
- SetShow
WebVitals Command - Request that backend shows an overlay with web vital metrics.
- SetShow
WebVitals Return - Request that backend shows an overlay with web vital metrics.
- Source
Order Config - Configuration data for drawing the source order of an elements children.