puppeteer/website/versioned_docs/version-19.6.0/api/puppeteer.screenshotoptions.omitbackground.md

20 lines
311 B
Markdown
Raw Normal View History

---
sidebar_label: ScreenshotOptions.omitBackground
---
# ScreenshotOptions.omitBackground property
Hides default white background and allows capturing screenshots with transparency.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
interface ScreenshotOptions {
omitBackground?: boolean;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
`false`