puppeteer/docs/api/puppeteer.screenshotoptions.fromsurface.md

16 lines
251 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ScreenshotOptions.fromSurface
---
# ScreenshotOptions.fromSurface property
Capture the screenshot from the surface, rather than the view.
**Signature:**
```typescript
interface ScreenshotOptions {
fromSurface?: boolean;
}
```