puppeteer/new-docs/puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md

14 lines
610 B
Markdown
Raw Normal View History

<!-- 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;
```