puppeteer/docs/api/puppeteer.screenshotoptions.encoding.md

221 B

sidebar_label
ScreenshotOptions.encoding

ScreenshotOptions.encoding property

Encoding of the image.

Signature:

interface ScreenshotOptions {encoding?: 'base64' | 'binary';}