puppeteer/new-docs/puppeteer.protocol.page.setdevicemetricsoverriderequest.viewport.md

14 lines
618 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; [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;
```