Network.replayXHRThis 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.
| Name | Type | Description |
|---|---|---|
requestId | RequestId | Identifier of XHR to replay. |
{
"id": 1,
"method": "Network.replayXHR",
"params": {
"requestId": "request-1"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Network.replayXHR', {"requestId": "request-1"});
console.log(result);