Skip to main content
Version: Next

ConnectOptions interface

Signature

export interface ConnectOptions extends BrowserConnectOptions

Extends: BrowserConnectOptions

Properties

Property

Modifiers

Type

Description

Default

browserURL

optional

string

browserWSEndpoint

optional

string

capabilities

optional

SupportedWebDriverCapabilities

WebDriver BiDi capabilities passed to BiDi session.new.

Remarks:

Only works for protocol="webDriverBiDi" and Puppeteer.connect().

headers

optional

Record<string, string>

Headers to use for the web socket connection.

Remarks:

Only works in the Node.js environment.

transport

optional

ConnectionTransport