Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.Network.RequestPattern
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { RequestPattern } = Protocol.Network;

Request pattern for interception.

Properties

optional
urlPattern: string

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

optional
resourceType: ResourceType

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

optional
interceptionStage: InterceptionStage

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