938 B
938 B
Home > puppeteer > Protocol > HeadlessExperimental > ScreenshotParams
Protocol.HeadlessExperimental.ScreenshotParams interface
Encoding options for a screenshot.
Signature:
export interface ScreenshotParams
Properties
Property | Type | Description |
---|---|---|
format | ('jpeg' | 'png') | Image compression format (defaults to png). |
quality | integer | Compression quality from range [0..100] (jpeg only). |