puppeteer/website/versioned_docs/version-10.0.0/puppeteer.screenshotoptions.omitbackground.md

14 lines
458 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ScreenshotOptions](./puppeteer.screenshotoptions.md) &gt; [omitBackground](./puppeteer.screenshotoptions.omitbackground.md)
## ScreenshotOptions.omitBackground property
Hides default white background and allows capturing screenshots with transparency.
<b>Signature:</b>
```typescript
omitBackground?: boolean;
```