RemoteOptions
Defined in: packages/core/src/adapters/remote-browser.ts:32
What defineRemote takes: what remote() exposes to operators.
Properties
Section titled “Properties”connect
Section titled “connect”connect: (
engine) =>RemoteConnection
Defined in: packages/core/src/adapters/remote-browser.ts:38
The connection for an engine. Pure: it is called once at creation to validate it.
Parameters
Section titled “Parameters”engine
Section titled “engine”Returns
Section titled “Returns”connectBackoffMs?
Section titled “connectBackoffMs?”
optionalconnectBackoffMs?:number
Defined in: packages/core/src/adapters/remote-browser.ts:46
First backoff between connect attempts in ms, doubling each time (default 500).
connectRetries?
Section titled “connectRetries?”
optionalconnectRetries?:number
Defined in: packages/core/src/adapters/remote-browser.ts:44
Connect retries before the render fails (default 3).
connectTimeoutMs?
Section titled “connectTimeoutMs?”
optionalconnectTimeoutMs?:number
Defined in: packages/core/src/adapters/remote-browser.ts:51
How long one connect attempt waits in ms (default 30 000). A farm with a client cap queues extra connections instead of refusing them, so a busy farm shows up as this timeout.
engines
Section titled “engines”engines: readonly
BrowserName[]
Defined in: packages/core/src/adapters/remote-browser.ts:36
The engines to offer (a subset of what the service has).
name:
string
Defined in: packages/core/src/adapters/remote-browser.ts:34
The target name half (chromium@<name>): lowercase letters, digits and hyphens, at most 32.
platform?
Section titled “platform?”
optionalplatform?:string
Defined in: packages/core/src/adapters/remote-browser.ts:42
OS the service renders on, reported when the page cannot tell (linux-x64, windows, …).
sessions
Section titled “sessions”sessions:
number
Defined in: packages/core/src/adapters/remote-browser.ts:40
Parallel sessions the plan allows: the page cap of the target, per process (decision 4).