puppeteer/new-docs/puppeteer.protocol.overlay.screenshotrequestedevent.md
2020-07-13 14:01:35 +01:00

21 lines
812 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; [Overlay](./puppeteer.protocol.overlay.md) &gt; [ScreenshotRequestedEvent](./puppeteer.protocol.overlay.screenshotrequestedevent.md)
## Protocol.Overlay.ScreenshotRequestedEvent interface
Fired when user asks to capture screenshot of some area on the page.
<b>Signature:</b>
```typescript
export interface ScreenshotRequestedEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [viewport](./puppeteer.protocol.overlay.screenshotrequestedevent.viewport.md) | [Page.Viewport](./puppeteer.protocol.page.viewport.md) | Viewport to capture, in device independent pixels (dip). |