mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
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.
1.2 KiB
1.2 KiB
Home > puppeteer > Protocol > Page > CaptureScreenshotRequest
Protocol.Page.CaptureScreenshotRequest interface
Signature:
export interface CaptureScreenshotRequest
Properties
Property | Type | Description |
---|---|---|
clip | Viewport | Capture the screenshot of a given region only. |
format | ('jpeg' | 'png') | Image compression format (defaults to png). (CaptureScreenshotRequestFormat enum) |
fromSurface | boolean | Capture the screenshot from the surface, rather than the view. Defaults to true. |
quality | integer | Compression quality from range [0..100] (jpeg only). |