puppeteer/docs/api/puppeteer.snapshotoptions.md

79 lines
688 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: SnapshotOptions
---
# SnapshotOptions interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface SnapshotOptions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
interestingOnly
</td><td>
`optional`
</td><td>
boolean
</td><td>
Prune uninteresting nodes from the tree.
</td><td>
`true`
</td></tr>
<tr><td>
root
</td><td>
`optional`
</td><td>
[ElementHandle](./puppeteer.elementhandle.md)&lt;Node&gt;
</td><td>
Root node to get the accessibility tree for
</td><td>
The root node of the entire page.
</td></tr>
</tbody></table>