跳转到内容

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>