14 lines
618 B
Markdown
14 lines
618 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [SetDeviceMetricsOverrideRequest](./puppeteer.protocol.page.setdevicemetricsoverriderequest.md) > [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;
|
|
```
|