puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.defaultviewport.md
2022-10-06 12:22:55 +02:00

253 B

sidebar_label
BrowserConnectOptions.defaultViewport

BrowserConnectOptions.defaultViewport property

Sets the viewport for each page.

Signature:

interface BrowserConnectOptions {
  defaultViewport?: Viewport | null;
}