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

13 lines
287 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;}
```