Network.setRequestInterceptionSets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
| Name | Type | Description |
|---|---|---|
patterns | array | Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call. |
{
"id": 1,
"method": "Network.setRequestInterception",
"params": {
"patterns": []
}
}
{
"id": 1,
"result": {}
}
const result = await send('Network.setRequestInterception', {"patterns": []});
console.log(result);