mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
281 B
Markdown
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`
|