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

757 B

Home > puppeteer > Protocol > Emulation > SetDeviceMetricsOverrideRequest > viewport

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.

Signature:

viewport?: Page.Viewport;