puppeteer/website/versioned_docs/version-19.7.5/api/puppeteer.browserconnectoptions.md
release-please[bot] 73ca94fe66
chore: release main (#9838)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-14 11:47:24 +01:00

1.9 KiB

sidebar_label
BrowserConnectOptions

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

Property Modifiers Type Description Default
defaultViewport? Viewport | null (Optional) Sets the viewport for each page.
ignoreHTTPSErrors? boolean (Optional) Whether to ignore HTTPS errors during navigation. false
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.