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

14 lines
639 B
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) &gt; [depth](./puppeteer.protocol.dom.requestchildnodesrequest.depth.md)
## Protocol.DOM.RequestChildNodesRequest.depth property
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.
<b>Signature:</b>
```typescript
depth?: integer;
```