RequestChildNodesRequest

data class RequestChildNodesRequest(nodeId: NodeId, depth: Int?, pierce: Boolean?)

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

Requests that children of the node with given id are returned to the caller in form of setChildNodes events where not only immediate children are retrieved, but all children down to the specified depth.

See also

Constructors

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

Properties

depth
Link copied to clipboard
val depth: Int? = null
The maximum depth at which children should be retrieved, defaults to 1.
nodeId
Link copied to clipboard
val nodeId: NodeId
Id of the node to get children for.
pierce
Link copied to clipboard
val pierce: Boolean? = null
Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false).

Sources

jvm source
Link copied to clipboard