HighlightNodeRequest

data class HighlightNodeRequest(highlightConfig: HighlightConfig, nodeId: NodeId?, backendNodeId: BackendNodeId?, objectId: RemoteObjectId?, selector: String?)

Represents request frame that can be used with Overlay#highlightNode operation call.

Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

See also

Constructors

HighlightNodeRequest
Link copied to clipboard
fun HighlightNodeRequest(highlightConfig: HighlightConfig, nodeId: NodeId? = null, backendNodeId: BackendNodeId? = null, objectId: RemoteObjectId? = null, selector: String? = null)

Properties

backendNodeId
Link copied to clipboard
val backendNodeId: BackendNodeId? = null
Identifier of the backend node to highlight.
highlightConfig
Link copied to clipboard
val highlightConfig: HighlightConfig
A descriptor for the highlight appearance.
nodeId
Link copied to clipboard
val nodeId: NodeId? = null
Identifier of the node to highlight.
objectId
Link copied to clipboard
val objectId: RemoteObjectId? = null
JavaScript object id of the node to be highlighted.
selector
Link copied to clipboard
val selector: String? = null
Selectors to highlight relevant nodes.

Sources

jvm source
Link copied to clipboard