pl.wendigo.chrome.api.dom / GetNodeForLocationResponse

GetNodeForLocationResponse

data class GetNodeForLocationResponse (source)

Represents response frame that is returned from DOM#getNodeForLocation operation call. Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.

Link
DOM#getNodeForLocation method documentation.

See Also

DOMOperations.getNodeForLocation

Constructors

<init>

GetNodeForLocationResponse(backendNodeId: BackendNodeId, frameId: FrameId, nodeId: NodeId? = null)

Represents response frame that is returned from DOM#getNodeForLocation operation call. Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.

Properties

backendNodeId

val backendNodeId: BackendNodeId

Resulting node.

frameId

val frameId: FrameId

Frame this node belongs to.

nodeId

val nodeId: NodeId?

Id of the node at given coordinates, only when enabled and requested document.