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

14 lines
549 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; [clip](./puppeteer.protocol.page.capturescreenshotrequest.clip.md)
## Protocol.Page.CaptureScreenshotRequest.clip property
Capture the screenshot of a given region only.
<b>Signature:</b>
```typescript
clip?: Viewport;
```