puppeteer/new-docs/puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md
2020-07-13 14:01:35 +01:00

14 lines
610 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [CaptureScreenshotRequest](./puppeteer.protocol.page.capturescreenshotrequest.md) &gt; [fromSurface](./puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md)
## Protocol.Page.CaptureScreenshotRequest.fromSurface property
Capture the screenshot from the surface, rather than the view. Defaults to true.
<b>Signature:</b>
```typescript
fromSurface?: boolean;
```