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

14 lines
458 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- 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;
```