import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { RequestPattern } = Protocol.Fetch;
Properties
Wildcards ('*'
-> zero or more, '?'
-> exactly one) are allowed. Escape character is
backslash. Omitting is equivalent to "*"
.
optional
resourceType: Network.ResourceTypeIf set, only requests for matching resource types will be intercepted.
optional
requestStage: RequestStageStage at which to begin intercepting requests. Default is Request.