1.1 KiB
1.1 KiB
Home > puppeteer > Protocol > DOM > RequestChildNodesRequest
Protocol.DOM.RequestChildNodesRequest interface
Signature:
export interface RequestChildNodesRequest
Properties
Property | Type | Description |
---|---|---|
depth | integer | 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 | NodeId | Id of the node to get children for. |
pierce | boolean | Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false). |