Skip to main content
Version: 19.8.2

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

PropertyModifiersTypeDescriptionDefault
defaultViewportoptionalViewport | nullSets the viewport for each page.
ignoreHTTPSErrorsoptionalbooleanWhether to ignore HTTPS errors during navigation.false
protocolTimeoutoptionalnumberTimeout setting for individual protocol (CDP) calls.180000
slowMooptionalnumberSlows down Puppeteer operations by the specified amount of milliseconds to aid debugging.
targetFilteroptionalTargetFilterCallbackCallback to decide if Puppeteer should connect to a given target or not.