Network.RequestPattern

Request pattern for interception.

{
  "id": "RequestPattern",
  "type": "object",
  "description": "Request pattern for interception.",
  "properties": [
    {
      "name": "urlPattern",
      "type": "string",
      "optional": true,
      "description": "Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to \"*\"."
    },
    {
      "name": "resourceType",
      "$ref": "Page.ResourceType",
      "optional": true,
      "description": "If set, only requests for matching resource types will be intercepted."
    },
    {
      "name": "interceptionStage",
      "$ref": "InterceptionStage",
      "optional": true,
      "description": "Stage at wich to begin intercepting requests. Default is Request."
    }
  ],
  "experimental": true
}