22 lines
1.2 KiB
Markdown
22 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [CaptureScreenshotRequest](./puppeteer.protocol.page.capturescreenshotrequest.md)
|
||
|
|
||
|
## Protocol.Page.CaptureScreenshotRequest interface
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface CaptureScreenshotRequest
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [clip](./puppeteer.protocol.page.capturescreenshotrequest.clip.md) | [Viewport](./puppeteer.protocol.page.viewport.md) | Capture the screenshot of a given region only. |
|
||
|
| [format](./puppeteer.protocol.page.capturescreenshotrequest.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). |
|
||
|
| [fromSurface](./puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md) | boolean | Capture the screenshot from the surface, rather than the view. Defaults to true. |
|
||
|
| [quality](./puppeteer.protocol.page.capturescreenshotrequest.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). |
|
||
|
|