14 lines
757 B
Markdown
14 lines
757 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [SetDeviceMetricsOverrideRequest](./puppeteer.protocol.emulation.setdevicemetricsoverriderequest.md) > [viewport](./puppeteer.protocol.emulation.setdevicemetricsoverriderequest.viewport.md)
|
|
|
|
## Protocol.Emulation.SetDeviceMetricsOverrideRequest.viewport property
|
|
|
|
If set, the visible area of the page will be overridden to this viewport. This viewport change is not observed by the page, e.g. viewport-relative elements do not change positions.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
viewport?: Page.Viewport;
|
|
```
|