replayXHR

suspend fun replayXHR(args: Network.ReplayXHRParameter, mode: CommandMode = CommandMode.DEFAULT)

This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.


suspend fun replayXHR(requestId: String)

This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.

Parameters

requestId

Identifier of XHR to replay.