RemoteLeasedConnection
Defined in: packages/core/src/adapters/remote-browser.ts:26
A connection a function connect returns, with what release needs back.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”TLease
Section titled “TLease”TLease = unknown
Properties
Section titled “Properties”endpoint
Section titled “endpoint”endpoint:
string
Defined in: packages/core/src/adapters/remote-browser.ts:20
ws(s)://… (CDP also accepts http(s)://…). May carry credentials: it is never logged.
Inherited from
Section titled “Inherited from”headers?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: packages/core/src/adapters/remote-browser.ts:22
Request headers for the handshake, such as authorization. Never logged.
Inherited from
Section titled “Inherited from”lease?
Section titled “lease?”
optionallease?:TLease
Defined in: packages/core/src/adapters/remote-browser.ts:28
Opaque to the runner, handed to release once and never logged (it may carry credentials).