CdpOptions
Defined in: runner-puppeteer/src/remote/cdp.ts:17
Options of cdp.
Properties
Section titled “Properties”connectTimeoutMs?
Section titled “connectTimeoutMs?”
optionalconnectTimeoutMs?:number
Defined in: runner-puppeteer/src/remote/cdp.ts:31
How long one connect attempt waits in ms (default 30 000).
endpoint
Section titled “endpoint”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.
engines?
Section titled “engines?”
optionalengines?: readonlyBrowserName[]
Defined in: runner-puppeteer/src/remote/cdp.ts:27
Engines to offer (default chromium; chrome when the service is real Chrome).
headers?
Section titled “headers?”
optionalheaders?: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.
platform?
Section titled “platform?”
optionalplatform?:string
Defined in: runner-puppeteer/src/remote/cdp.ts:29
OS the service runs on, reported when the page cannot tell.
sessions?
Section titled “sessions?”
optionalsessions?:number
Defined in: runner-puppeteer/src/remote/cdp.ts:25
Parallel pages the service allows (default 1: set it to the plan’s cap).