highlightNode
suspend fun highlightNode(args: Overlay.HighlightNodeParameter, mode: CommandMode = CommandMode.DEFAULT)
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
suspend fun highlightNode(highlightConfig: Overlay.HighlightConfig, nodeId: Int? = null, backendNodeId: Int? = null, objectId: String? = null, selector: String? = null)
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Parameters
highlightConfig
A descriptor for the highlight appearance.
nodeId
Identifier of the node to highlight.
backendNodeId
Identifier of the backend node to highlight.
objectId
JavaScript object id of the node to be highlighted.
selector
Selectors to highlight relevant nodes.