Skip to main content
Version: 21.6.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

PropertyModifiersTypeDescriptionDefault
defaultViewportoptionalViewport | nullSets the viewport for each page.'{width: 800, height: 600}'
ignoreHTTPSErrorsoptionalbooleanWhether to ignore HTTPS errors during navigation.false
protocoloptionalProtocolType'cdp'
protocolTimeoutoptionalnumberTimeout setting for individual protocol (CDP) calls.180_000
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.