puppeteer/new-docs/puppeteer.protocol.overlay.md
2020-07-13 14:01:35 +01:00

3.3 KiB

Home > puppeteer > Protocol > Overlay

Protocol.Overlay namespace

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

Signature:

export namespace Overlay 

Interfaces

Interface Description
GetHighlightObjectForTestRequest
GetHighlightObjectForTestResponse
GridHighlightConfig Configuration data for the highlighting of Grid elements.
HighlightConfig Configuration data for the highlighting of page elements.
HighlightFrameRequest
HighlightNodeRequest
HighlightQuadRequest
HighlightRectRequest
HingeConfig Configuration for dual screen hinge
InspectNodeRequestedEvent Fired when the node should be inspected. This happens after call to setInspectMode or when user manually inspects an element.
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.
SetInspectModeRequest
SetPausedInDebuggerMessageRequest
SetShowAdHighlightsRequest
SetShowDebugBordersRequest
SetShowFPSCounterRequest
SetShowHingeRequest
SetShowHitTestBordersRequest
SetShowLayoutShiftRegionsRequest
SetShowPaintRectsRequest
SetShowScrollBottleneckRectsRequest
SetShowViewportSizeOnResizeRequest

Type Aliases

Type Alias Description
ColorFormat
InspectMode