puppeteer/new-docs/puppeteer.protocol.domsnapshot.capturesnapshotrequest.md

21 lines
1.1 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) &gt; [CaptureSnapshotRequest](./puppeteer.protocol.domsnapshot.capturesnapshotrequest.md)
## Protocol.DOMSnapshot.CaptureSnapshotRequest interface
<b>Signature:</b>
```typescript
export interface CaptureSnapshotRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [computedStyles](./puppeteer.protocol.domsnapshot.capturesnapshotrequest.computedstyles.md) | string\[\] | Whitelist of computed styles to return. |
| [includeDOMRects](./puppeteer.protocol.domsnapshot.capturesnapshotrequest.includedomrects.md) | boolean | Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot |
| [includePaintOrder](./puppeteer.protocol.domsnapshot.capturesnapshotrequest.includepaintorder.md) | boolean | Whether to include layout object paint orders into the snapshot. |