Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface Protocol.Network.ContinueInterceptedRequestRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ContinueInterceptedRequestRequest } = Protocol.Network;

Properties

interceptionId: InterceptionId
optional
errorReason: ErrorReason

If set this causes the request to fail with the given reason. Passing Aborted for requests marked with isNavigationRequest also cancels the navigation. Must not be set in response to an authChallenge.

optional
rawResponse: string

If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge. (Encoded as a base64 string when passed over JSON)

optional
url: string

If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.

optional
method: string

If set this allows the request method to be overridden. Must not be set in response to an authChallenge.

optional
postData: string

If set this allows postData to be set. Must not be set in response to an authChallenge.

optional
headers: Headers

If set this allows the request headers to be changed. Must not be set in response to an authChallenge.

optional
authChallengeResponse: AuthChallengeResponse

Response to a requestIntercepted with an authChallenge. Must not be set otherwise.