Skip to content

CdpOptions

Defined in: runner-puppeteer/src/remote/cdp.ts:17

Options of cdp.

optional connectTimeoutMs?: number

Defined in: runner-puppeteer/src/remote/cdp.ts:31

How long one connect attempt waits in ms (default 30 000).


endpoint: string

Defined in: runner-puppeteer/src/remote/cdp.ts:21

ws(s)://…, or http(s)://… of a Chrome with remote debugging (its WebSocket is looked up). May carry a key: it is never logged.


optional engines?: readonly BrowserName[]

Defined in: runner-puppeteer/src/remote/cdp.ts:27

Engines to offer (default chromium; chrome when the service is real Chrome).


optional headers?: Record<string, string>

Defined in: runner-puppeteer/src/remote/cdp.ts:23

Handshake headers, such as authorization. Never logged.


name: string

Defined in: runner-puppeteer/src/remote/cdp.ts:19

The target name half (chromium@<name>): lowercase letters, digits and hyphens, at most 32.


optional platform?: string

Defined in: runner-puppeteer/src/remote/cdp.ts:29

OS the service runs on, reported when the page cannot tell.


optional sessions?: number

Defined in: runner-puppeteer/src/remote/cdp.ts:25

Parallel pages the service allows (default 1: set it to the plan’s cap).