puppeteer/new-docs/puppeteer.protocol.dom.getdocumentrequest.md
2020-07-13 14:01:35 +01:00

20 lines
943 B
Markdown

<!-- 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; [GetDocumentRequest](./puppeteer.protocol.dom.getdocumentrequest.md)
## Protocol.DOM.GetDocumentRequest interface
<b>Signature:</b>
```typescript
export interface GetDocumentRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [depth](./puppeteer.protocol.dom.getdocumentrequest.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. |
| [pierce](./puppeteer.protocol.dom.getdocumentrequest.pierce.md) | boolean | Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). |