puppeteer/new-docs/puppeteer.protocol.page.capturescreenshotrequest.format.md

14 lines
600 B
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; [Page](./puppeteer.protocol.page.md) &gt; [CaptureScreenshotRequest](./puppeteer.protocol.page.capturescreenshotrequest.md) &gt; [format](./puppeteer.protocol.page.capturescreenshotrequest.format.md)
## Protocol.Page.CaptureScreenshotRequest.format property
Image compression format (defaults to png). (CaptureScreenshotRequestFormat enum)
<b>Signature:</b>
```typescript
format?: ('jpeg' | 'png');
```