mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
This adds the new docs that are generated by API Extractor via TSDoc. They are sparse because we do not yet use TSDoc in the codebase. This is the starting point and from here we can work through all the different classes and improve the documentation.
26 lines
695 B
Markdown
26 lines
695 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Accessibility](./puppeteer.accessibility.md) > [snapshot](./puppeteer.accessibility.snapshot.md)
|
|
|
|
## Accessibility.snapshot() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
snapshot(options?: {
|
|
interestingOnly?: boolean;
|
|
root?: ElementHandle;
|
|
}): Promise<SerializedAXNode>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| options | { interestingOnly?: boolean; root?: [ElementHandle](./puppeteer.elementhandle.md)<!-- -->; } | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<SerializedAXNode>
|
|
|