Extremely Popular
Go to Latest
interface puppeteer.Fetch.EnableRequest
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { EnableRequest } = puppeteer.Fetch;

Properties

optional
patterns: RequestPattern[]

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

optional
handleAuthRequests: boolean

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.