pl.wendigo.chrome.api.dom / DescribeNodeRequest

DescribeNodeRequest

data class DescribeNodeRequest (source)

Represents request frame that can be used with DOM#describeNode operation call.

Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation.

Link
DOM#describeNode method documentation.

See Also

DOMOperations.describeNode

Constructors

<init>

DescribeNodeRequest(nodeId: NodeId? = null, backendNodeId: BackendNodeId? = null, objectId: RemoteObjectId? = null, depth: Int? = null, pierce: Boolean? = null)

Represents request frame that can be used with DOM#describeNode operation call.

Properties

backendNodeId

val backendNodeId: BackendNodeId?

Identifier of the backend node.

depth

val depth: Int?

The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

nodeId

val nodeId: NodeId?

Identifier of the node.

objectId

val objectId: RemoteObjectId?

JavaScript object id of the node wrapper.

pierce

val pierce: Boolean?

Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).