puppeteer/website/versioned_docs/version-19.7.3/api/puppeteer.screenshotoptions.fromsurface.md

20 lines
281 B
Markdown
Raw Normal View History

---
sidebar_label: ScreenshotOptions.fromSurface
---
# ScreenshotOptions.fromSurface property
Capture the screenshot from the surface, rather than the view.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
interface ScreenshotOptions {
fromSurface?: boolean;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
`true`