puppeteer/website/versioned_docs/version-19.4.1/api/puppeteer.screenshotoptions.omitbackground.md
2022-12-16 14:21:28 +01:00

20 lines
311 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;
}
```
#### Default value:
`false`