Skip to main content
Module

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

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Fetch.EnableRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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.