puppeteer/new-docs/puppeteer.protocol.network.requestwillbesentevent.md
2020-07-13 14:01:35 +01:00

2.4 KiB

Home > puppeteer > Protocol > Network > RequestWillBeSentEvent

Protocol.Network.RequestWillBeSentEvent interface

Fired when page is about to send HTTP request.

Signature:

export interface RequestWillBeSentEvent 

Properties

Property Type Description
documentURL string URL of the document this request is loaded for.
frameId Page.FrameId Frame identifier.
hasUserGesture boolean Whether the request is initiated by a user gesture. Defaults to false.
initiator Initiator Request initiator.
loaderId LoaderId Loader identifier. Empty string if the request is fetched from worker.
redirectResponse Response Redirect response data.
request Request Request data.
requestId RequestId Request identifier.
timestamp MonotonicTime Timestamp.
type ResourceType Type of this resource.
wallTime TimeSinceEpoch Timestamp.