puppeteer/docs/api/puppeteer.screenshotoptions.omitbackground.md

16 lines
280 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ScreenshotOptions.omitBackground
---
# ScreenshotOptions.omitBackground property
Hides default white background and allows capturing screenshots with transparency.
**Signature:**
```typescript
interface ScreenshotOptions {
omitBackground?: boolean;
}
```