puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.omitbackground.md
2022-10-06 12:22:55 +02:00

16 lines
280 B
Markdown

---
sidebar_label: ScreenshotOptions.omitBackground
---
# ScreenshotOptions.omitBackground property
Hides default white background and allows capturing screenshots with transparency.
**Signature:**
```typescript
interface ScreenshotOptions {
omitBackground?: boolean;
}
```