puppeteer/docs/api/puppeteer.screenshotoptions.omitbackground.md
2022-07-05 15:41:43 +02:00

280 B

sidebar_label
ScreenshotOptions.omitBackground

ScreenshotOptions.omitBackground property

Hides default white background and allows capturing screenshots with transparency.

Signature:

interface ScreenshotOptions {
  omitBackground?: boolean;
}