RequestChildNodesRequest

@Serializable
data class RequestChildNodesRequest(val nodeId: NodeId, val depth: Int? = null, val pierce: Boolean? = null)

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

Constructors

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

Types

Link copied to clipboard
class Builder(val nodeId: NodeId)

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

Properties

Link copied to clipboard
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.

Link copied to clipboard

Id of the node to get children for.

Link copied to clipboard

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