Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Fetch.RequestPattern

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Fetch.RequestPattern
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { RequestPattern } = Protocol.Fetch;

Properties

optional
urlPattern: string

Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "*".

optional
resourceType: Network.ResourceType

If set, only requests for matching resource types will be intercepted.

optional
requestStage: RequestStage

Stage at which to begin intercepting requests. Default is Request.