[abort(errorCode, priority)](./puppeteer.httprequest.abort.md)
|
|
Aborts a request.
|
[abortErrorReason()](./puppeteer.httprequest.aborterrorreason.md)
|
|
The most recent reason for aborting the request
|
[continue(overrides, priority)](./puppeteer.httprequest.continue.md)
|
|
Continues request with optional request overrides.
|
[continueRequestOverrides()](./puppeteer.httprequest.continuerequestoverrides.md)
|
|
The `ContinueRequestOverrides` that will be used if the interception is allowed to continue (ie, `abort()` and `respond()` aren't called).
|
[enqueueInterceptAction(pendingHandler)](./puppeteer.httprequest.enqueueinterceptaction.md)
|
|
Adds an async request handler to the processing queue. Deferred handlers are not guaranteed to execute in any particular order, but they are guaranteed to resolve before the request interception is finalized.
|
[failure()](./puppeteer.httprequest.failure.md)
|
|
Access information about the request's failure.
|
[fetchPostData()](./puppeteer.httprequest.fetchpostdata.md)
|
|
Fetches the POST data for the request from the browser.
|
[finalizeInterceptions()](./puppeteer.httprequest.finalizeinterceptions.md)
|
|
Awaits pending interception handlers and then decides how to fulfill the request interception.
|
[frame()](./puppeteer.httprequest.frame.md)
|
|
The frame that initiated the request, or null if navigating to error pages.
|
[hasPostData()](./puppeteer.httprequest.haspostdata.md)
|
|
True when the request has POST data. Note that [HTTPRequest.postData()](./puppeteer.httprequest.postdata.md) might still be undefined when this flag is true when the data is too long or not readily available in the decoded form. In that case, use [HTTPRequest.fetchPostData()](./puppeteer.httprequest.fetchpostdata.md).
|
[headers()](./puppeteer.httprequest.headers.md)
|
|
An object with HTTP headers associated with the request. All header names are lower-case.
|
[initiator()](./puppeteer.httprequest.initiator.md)
|
|
The initiator of the request.
|
[interceptResolutionState()](./puppeteer.httprequest.interceptresolutionstate.md)
|
|
An InterceptResolutionState object describing the current resolution action and priority.
InterceptResolutionState contains: action: InterceptResolutionAction priority?: number
InterceptResolutionAction is one of: `abort`, `respond`, `continue`, `disabled`, `none`, or `already-handled`.
|
[isInterceptResolutionHandled()](./puppeteer.httprequest.isinterceptresolutionhandled.md)
|
|
Is `true` if the intercept resolution has already been handled, `false` otherwise.
|
[isNavigationRequest()](./puppeteer.httprequest.isnavigationrequest.md)
|
|
True if the request is the driver of the current frame's navigation.
|
[method()](./puppeteer.httprequest.method.md)
|
|
The method used (`GET`, `POST`, etc.)
|
[postData()](./puppeteer.httprequest.postdata.md)
|
|
The request's post body, if any.
|
[redirectChain()](./puppeteer.httprequest.redirectchain.md)
|
|
A `redirectChain` is a chain of requests initiated to fetch a resource.
|
[resourceType()](./puppeteer.httprequest.resourcetype.md)
|
|
Contains the request's resource type as it was perceived by the rendering engine.
|
[respond(response, priority)](./puppeteer.httprequest.respond.md)
|
|
Fulfills a request with the given response.
|
[response()](./puppeteer.httprequest.response.md)
|
|
A matching `HTTPResponse` object, or null if the response has not been received yet.
|
[responseForRequest()](./puppeteer.httprequest.responseforrequest.md)
|
|
The `ResponseForRequest` that gets used if the interception is allowed to respond (ie, `abort()` is not called).
|
[url()](./puppeteer.httprequest.url.md)
|
|
The URL of the request
|