21 lines
812 B
Markdown
21 lines
812 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Overlay](./puppeteer.protocol.overlay.md) > [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). |
|
|
|