Overlay
Types
Configuration data for the highlighting of Flex container elements.
Configuration data for the highlighting of Flex item elements.
Configuration data for the highlighting of Grid elements.
Configurations for Persistent Grid Highlight
Configuration data for the highlighting of page elements.
Configuration for dual screen hinge
Fired when the node should be inspected. This happens after call to setInspectMode
or when user manually inspects an element.
Fired when the node should be highlighted. This happens after call to setInspectMode
.
Fired when user asks to capture screenshot of some area on the page.
Configuration data for drawing the source order of an elements children.
Configuration for Window Controls Overlay
Properties
Fired when user cancels the inspect mode.
Fired when the node should be inspected. This happens after call to setInspectMode
or when user manually inspects an element.
Fired when the node should be highlighted. This happens after call to setInspectMode
.
Fired when user asks to capture screenshot of some area on the page.
Functions
Disables domain notifications.
Enables domain notifications.
For Persistent Grid testing.
For testing.
For Source Order Viewer testing.
Hides any highlight.
Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
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.
Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
Highlights owner element of all frames detected to be ads.
Requests that backend shows debug borders on layers
Requests that backend shows the FPS counter
Highlight multiple elements with the CSS Grid overlay.
Add a dual screen device hinge
Deprecated, no longer has any effect.
Show elements in isolation mode with overlays.
Requests that backend shows layout shift regions
Requests that backend shows paint rectangles
Requests that backend shows scroll bottleneck rects
Paints viewport size upon main frame resize.
Deprecated, no longer has any effect.
Show Window Controls Overlay for PWA