Skip to content

setProxyMode

setProxyMode(mode, sessionId?, timeout?, websocket?): Promise<void>

Defined in: playwright/index.ts:50

Set the proxy mode for a given session

Mode

The proxy mode to set (recording, replay, transparent)

string

Unique identifier for the session

number

Optional timeout in milliseconds

WebSocketReplayConfig

Promise<void>