puppeteer/new-docs/puppeteer.protocol.dom.requestchildnodesrequest.md

21 lines
1.1 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [RequestChildNodesRequest](./puppeteer.protocol.dom.requestchildnodesrequest.md)
## Protocol.DOM.RequestChildNodesRequest interface
<b>Signature:</b>
```typescript
export interface RequestChildNodesRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [depth](./puppeteer.protocol.dom.requestchildnodesrequest.depth.md) | [integer](./puppeteer.protocol.integer.md) | 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](./puppeteer.protocol.dom.requestchildnodesrequest.nodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Id of the node to get children for. |
| [pierce](./puppeteer.protocol.dom.requestchildnodesrequest.pierce.md) | boolean | Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false). |