Module cdp::overlay
[−]
[src]
[Experimental] This domain provides various functionality related to drawing atop the inspected page.
Overlay
Commands
Overlay.enableExperimentalEnables domain notifications.
Overlay.disableExperimentalDisables domain notifications.
Overlay.setShowPaintRectsExperimentalRequests that backend shows paint rectangles
Overlay.setShowDebugBordersExperimentalRequests that backend shows debug borders on layers
Overlay.setShowFPSCounterExperimentalRequests that backend shows the FPS counter
Overlay.setShowScrollBottleneckRectsExperimentalRequests that backend shows scroll bottleneck rects
Overlay.setShowViewportSizeOnResizeExperimentalPaints viewport size upon main frame resize.
Overlay.setPausedInDebuggerMessageExperimentalOverlay.setSuspendedExperimentalOverlay.setInspectModeExperimentalEnters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
Overlay.highlightRectExperimentalHighlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Overlay.highlightQuadExperimentalHighlights given quad. Coordinates are absolute with respect to the main frame viewport.
Overlay.highlightNodeExperimentalHighlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Overlay.highlightFrameExperimentalHighlights owner element of the frame with given id.
Overlay.hideHighlightExperimentalHides any highlight.
Overlay.getHighlightObjectForTestExperimentalFor testing.
Events
Overlay.nodeHighlightRequestedExperimentalFired when the node should be highlighted. This happens after call to
setInspectMode.Overlay.inspectNodeRequestedExperimentalFired when the node should be inspected. This happens after call to
setInspectModeor when user manually inspects an element.Overlay.screenshotRequestedExperimentalFired when user asks to capture screenshot of some area on the page.
Types
HighlightConfigExperimentalConfiguration data for the highlighting of page elements.
InspectModeExperimental
Structs
| DisableCommand |
[Experimental] Disables domain notifications. |
| DisableResponse |
[Experimental] Disables domain notifications. |
| EnableCommand |
[Experimental] Enables domain notifications. |
| EnableResponse |
[Experimental] Enables domain notifications. |
| GetHighlightObjectForTestCommand |
[Experimental] For testing. |
| GetHighlightObjectForTestResponse |
[Experimental] For testing. |
| HideHighlightCommand |
[Experimental] Hides any highlight. |
| HideHighlightResponse |
[Experimental] Hides any highlight. |
| HighlightConfig |
[Experimental] Configuration data for the highlighting of page elements. |
| HighlightFrameCommand |
[Experimental] Highlights owner element of the frame with given id. |
| HighlightFrameResponse |
[Experimental] Highlights owner element of the frame with given id. |
| HighlightNodeCommand |
[Experimental] Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified. |
| HighlightNodeResponse |
[Experimental] Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified. |
| HighlightQuadCommand |
[Experimental] Highlights given quad. Coordinates are absolute with respect to the main frame viewport. |
| HighlightQuadResponse |
[Experimental] Highlights given quad. Coordinates are absolute with respect to the main frame viewport. |
| HighlightRectCommand |
[Experimental] Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport. |
| HighlightRectResponse |
[Experimental] Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport. |
| InspectNodeRequestedEvent |
[Experimental] Fired when the node should be inspected. This happens after call to |
| NodeHighlightRequestedEvent |
[Experimental] Fired when the node should be highlighted. This happens after call to |
| ScreenshotRequestedEvent |
[Experimental] Fired when user asks to capture screenshot of some area on the page. |
| SetInspectModeCommand |
[Experimental] Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection. |
| SetInspectModeResponse |
[Experimental] Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection. |
| SetPausedInDebuggerMessageCommand |
[Experimental] |
| SetPausedInDebuggerMessageResponse |
[Experimental] |
| SetShowDebugBordersCommand |
[Experimental] Requests that backend shows debug borders on layers |
| SetShowDebugBordersResponse |
[Experimental] Requests that backend shows debug borders on layers |
| SetShowFpsCounterCommand |
[Experimental] Requests that backend shows the FPS counter |
| SetShowFpsCounterResponse |
[Experimental] Requests that backend shows the FPS counter |
| SetShowPaintRectsCommand |
[Experimental] Requests that backend shows paint rectangles |
| SetShowPaintRectsResponse |
[Experimental] Requests that backend shows paint rectangles |
| SetShowScrollBottleneckRectsCommand |
[Experimental] Requests that backend shows scroll bottleneck rects |
| SetShowScrollBottleneckRectsResponse |
[Experimental] Requests that backend shows scroll bottleneck rects |
| SetShowViewportSizeOnResizeCommand |
[Experimental] Paints viewport size upon main frame resize. |
| SetShowViewportSizeOnResizeResponse |
[Experimental] Paints viewport size upon main frame resize. |
| SetSuspendedCommand |
[Experimental] |
| SetSuspendedResponse |
[Experimental] |
Enums
| InspectMode |
[Experimental] |