puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.screenshotoptions.fromsurface.md
2022-11-03 11:02:28 +01:00

20 lines
281 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;
}
```
#### Default value:
`true`