puppeteer/new-docs/puppeteer.protocol.overlay.screenshotrequestedevent.viewport.md

14 lines
594 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; [Overlay](./puppeteer.protocol.overlay.md) &gt; [ScreenshotRequestedEvent](./puppeteer.protocol.overlay.screenshotrequestedevent.md) &gt; [viewport](./puppeteer.protocol.overlay.screenshotrequestedevent.viewport.md)
## Protocol.Overlay.ScreenshotRequestedEvent.viewport property
Viewport to capture, in device independent pixels (dip).
<b>Signature:</b>
```typescript
viewport: Page.Viewport;
```