puppeteer/website/versioned_docs/version-10.1.0/puppeteer.screenshotoptions.omitbackground.md
2021-08-10 11:09:48 +01:00

458 B

Home > puppeteer > ScreenshotOptions > omitBackground

ScreenshotOptions.omitBackground property

Hides default white background and allows capturing screenshots with transparency.

Signature:

omitBackground?: boolean;