Overlay Domain
This domain provides various functionality related to drawing atop the inspected page.
Functions
Disables domain notifications.
Enables domain notifications.
Subscribes to all events related to this domain.
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.
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.
Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
(undocumented in the protocol definition)
Highlights owner element of all frames detected to be ads.
(undocumented in the protocol definition)
Requests that backend shows debug borders on layers
(undocumented in the protocol definition)
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
(undocumented in the protocol definition)
Paints viewport size upon main frame resize.
Request that backend shows an overlay with web vital metrics.
Show Window Controls Overlay for PWA