puppeteer/docs/api/puppeteer.browserconnectoptions.defaultviewport.md

260 B

sidebar_label
BrowserConnectOptions.defaultViewport

BrowserConnectOptions.defaultViewport property

Sets the viewport for each page.

Signature:

interface BrowserConnectOptions {defaultViewport?: Viewport | null;}