puppeteer/new-docs/puppeteer.protocol.page.setdevicemetricsoverriderequest.viewport.md
2020-07-13 14:01:35 +01:00

14 lines
618 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; [Page](./puppeteer.protocol.page.md) &gt; [SetDeviceMetricsOverrideRequest](./puppeteer.protocol.page.setdevicemetricsoverriderequest.md) &gt; [viewport](./puppeteer.protocol.page.setdevicemetricsoverriderequest.viewport.md)
## Protocol.Page.SetDeviceMetricsOverrideRequest.viewport property
The viewport dimensions and scale. If not set, the override is cleared.
<b>Signature:</b>
```typescript
viewport?: Viewport;
```