mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
79 lines
745 B
Markdown
79 lines
745 B
Markdown
---
|
|
sidebar_label: SnapshotOptions
|
|
---
|
|
|
|
# SnapshotOptions interface
|
|
|
|
#### Signature:
|
|
|
|
```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>
|
|
|
|
<span id="interestingonly">interestingOnly</span>
|
|
|
|
</td><td>
|
|
|
|
`optional`
|
|
|
|
</td><td>
|
|
|
|
boolean
|
|
|
|
</td><td>
|
|
|
|
Prune uninteresting nodes from the tree.
|
|
|
|
</td><td>
|
|
|
|
`true`
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
<span id="root">root</span>
|
|
|
|
</td><td>
|
|
|
|
`optional`
|
|
|
|
</td><td>
|
|
|
|
[ElementHandle](./puppeteer.elementhandle.md)<Node>
|
|
|
|
</td><td>
|
|
|
|
Root node to get the accessibility tree for
|
|
|
|
</td><td>
|
|
|
|
The root node of the entire page.
|
|
|
|
</td></tr>
|
|
</tbody></table>
|