Fetch.enableEnables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
| Name | Type | Description |
|---|---|---|
patterns (optional) | array | If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected. |
handleAuthRequests (optional) | boolean | If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth. |
{
"id": 1,
"method": "Fetch.enable"
}
{
"id": 1,
"result": {}
}
const result = await send('Fetch.enable');
console.log(result);