Skip to main content
Version: Next

RemoteConnectionParameters

Per-plugin remote connection parameters, passed to BrowserPlugin.useRemoteConnection. The endpoint is supplied per-launch via RemoteConnection; these are the static connect() parameters (protocol, headers, timeouts, …).

Index

Properties

optionalconnectOptions

connectOptions?: Record<string, unknown>

Extra options forwarded to the library connect() / connectOverCDP() call (endpoint excluded).

optionalprotocol

protocol?: cdp | playwright

Playwright only: which protocol to connect with. 'cdp' uses connectOverCDP() (the default), 'playwright' uses connect() (Playwright's own WebSocket protocol). Ignored by Puppeteer.

Page Options