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