Network.setRequestInterception

Sets the requests to intercept that match the provided patterns and optionally resource types.

{
  "name": "setRequestInterception",
  "description": "Sets the requests to intercept that match the provided patterns and optionally resource types.",
  "parameters": [
    {
      "name": "patterns",
      "type": "array",
      "items": {
        "$ref": "RequestPattern"
      },
      "description": "Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call."
    }
  ],
  "experimental": true
}