chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / RequestChildNodesRequest

RequestChildNodesRequest

data class RequestChildNodesRequest

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

Constructors

<init>

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

RequestChildNodesRequest(nodeId: NodeId, depth: Int? = null, pierce: Boolean? = null)

Properties

depth

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.

val depth: Int?

nodeId

Id of the node to get children for.

val nodeId: NodeId

pierce

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

val pierce: Boolean?