mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
5ff205dc8b
* fix: extends `ElementHandle` to `Node`s (#8552)
19 lines
980 B
Markdown
19 lines
980 B
Markdown
---
|
|
sidebar_label: SnapshotOptions
|
|
---
|
|
|
|
# SnapshotOptions interface
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
export interface SnapshotOptions
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| ------------------------------------------------------------------ | --------- | --------------------------------------------------------- | ------------------------------------------------------------- |
|
|
| [interestingOnly?](./puppeteer.snapshotoptions.interestingonly.md) | | boolean | <i>(Optional)</i> Prune uninteresting nodes from the tree. |
|
|
| [root?](./puppeteer.snapshotoptions.root.md) | | [ElementHandle](./puppeteer.elementhandle.md)<Node> | <i>(Optional)</i> Root node to get the accessibility tree for |
|