puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.encoding.md

16 lines
214 B
Markdown
Raw Normal View History

---
sidebar_label: ScreenshotOptions.encoding
---
# ScreenshotOptions.encoding property
Encoding of the image.
**Signature:**
```typescript
interface ScreenshotOptions {
encoding?: 'base64' | 'binary';
}
```