import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { RequestWillBeSentEvent } = default.Network;
Fired when page is about to send HTTP request.
Properties
requestId: RequestId
Request identifier.
loaderId: LoaderId
Loader identifier. Empty string if the request is fetched from worker.
request: Request
Request data.
timestamp: MonotonicTime
Timestamp.
wallTime: TimeSinceEpoch
Timestamp.
initiator: Initiator
Request initiator.
In the case that redirectResponse is populated, this flag indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the request which was just redirected.
optional
redirectResponse: ResponseRedirect response data.
optional
type: ResourceTypeType of this resource.
optional
frameId: Page.FrameIdFrame identifier.