Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Fetch.EnableRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { EnableRequest } = Protocol.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.