puppeteer/website/versioned_docs/version-21.3.3/api/puppeteer.snapshotoptions.md

19 lines
897 B
Markdown
Raw Normal View History

---
sidebar_label: SnapshotOptions
---
# SnapshotOptions interface
#### Signature:
```typescript
export interface SnapshotOptions
```
## Properties
| Property | Modifiers | Type | Description | Default |
| --------------- | --------------------- | --------------------------------------------------------- | ------------------------------------------- | --------------------------------- |
| interestingOnly | <code>optional</code> | boolean | Prune uninteresting nodes from the tree. | <code>true</code> |
| root | <code>optional</code> | [ElementHandle](./puppeteer.elementhandle.md)&lt;Node&gt; | Root node to get the accessibility tree for | The root node of the entire page. |