puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.screenshotoptions.fromsurface.md
2022-10-21 15:52:43 +02:00

16 lines
251 B
Markdown

---
sidebar_label: ScreenshotOptions.fromSurface
---
# ScreenshotOptions.fromSurface property
Capture the screenshot from the surface, rather than the view.
**Signature:**
```typescript
interface ScreenshotOptions {
fromSurface?: boolean;
}
```