<!-- 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;
```