Skip to main content
Version: 15.5.0

BrowserConnectOptions interface

Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance.

Signature:

export interface BrowserConnectOptions

Properties

PropertyModifiersTypeDescription
defaultViewport?Viewport | null(Optional) Sets the viewport for each page.
ignoreHTTPSErrors?boolean(Optional) Whether to ignore HTTPS errors during navigation.
slowMo?number(Optional) Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging.
targetFilter?TargetFilterCallback(Optional) Callback to decide if Puppeteer should connect to a given target or not.