DescribeNodeRequest

@Serializable
data class DescribeNodeRequest(val nodeId: NodeId? = null, val backendNodeId: BackendNodeId? = null, val objectId: RemoteObjectId? = null, val depth: Int? = null, val pierce: Boolean? = null)

Request object containing input parameters for the DOMDomain.describeNode command.

Constructors

Link copied to clipboard
constructor(nodeId: NodeId? = null, backendNodeId: BackendNodeId? = null, objectId: RemoteObjectId? = null, depth: Int? = null, pierce: Boolean? = null)

Types

Link copied to clipboard
class Builder

A builder for DescribeNodeRequest, which allows setting the optional parameters of the DOMDomain.describeNode command via a lambda.

Properties

Link copied to clipboard

Identifier of the backend node.

Link copied to clipboard
val depth: Int? = null

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.

Link copied to clipboard
val nodeId: NodeId? = null

Identifier of the node.

Link copied to clipboard

JavaScript object id of the node wrapper.

Link copied to clipboard
val pierce: Boolean? = null

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