puppeteer/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

22 lines
968 B
Markdown

<!-- 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; [HeadlessExperimental](./puppeteer.protocol.headlessexperimental.md) &gt; [ScreenshotParams](./puppeteer.protocol.headlessexperimental.screenshotparams.md)
## Protocol.HeadlessExperimental.ScreenshotParams interface
Encoding options for a screenshot.
<b>Signature:</b>
```typescript
export interface ScreenshotParams
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). (ScreenshotParamsFormat enum) |
| [quality](./puppeteer.protocol.headlessexperimental.screenshotparams.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). |