Overlay
Overlay domain exposes visual adornments and node selection interaction
Methods | enable, disable, setInspectMode |
Events | inspectNodeRequested, nodeHighlightRequested |
Dependencies | DOM |
Enables reporting of nodeHighlightRequested
and inspectElementRequested
events
Disables reporting of Overlay domain events
Sets the element selection mode for the client
Parameters | ||
---|---|---|
mode | string |
The inspection mode. Valid values are 'searchForNode' and 'none'. |
highlightConfig optional |
DOM.HighlightConfig |
The highlight configuration to use while inspecting |
Notifies the client that the user has asked to inspect a particular node
Parameters | ||
---|---|---|
backendNodeId | DOM.BackendNodeId |
The backend node ID of node requested |
Indicates that the user has hovered over the node and may inspect the node
Parameters | ||
---|---|---|
nodeId | DOM.NodeId |
The node ID of the node being considered |