mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
14 lines
651 B
Markdown
14 lines
651 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOM](./puppeteer.protocol.dom.md) > [GetFlattenedDocumentRequest](./puppeteer.protocol.dom.getflatteneddocumentrequest.md) > [depth](./puppeteer.protocol.dom.getflatteneddocumentrequest.depth.md)
|
|
|
|
## Protocol.DOM.GetFlattenedDocumentRequest.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;
|
|
```
|