Expand description
Fetch domain types.
The Fetch domain allows intercepting network requests, modifying them, and providing custom responses. It’s the primary mechanism for request routing and mocking in browser automation.
Structs§
- Auth
Challenge - Authorization challenge for HTTP status code 401 or 407.
- Auth
Challenge Response - Response to an
AuthChallenge. - Auth
Required Event - Event: Fetch.authRequired
- Continue
Request Params - Parameters for Fetch.continueRequest.
- Continue
Response Params - Parameters for Fetch.continueResponse (experimental).
- Continue
With Auth Params - Parameters for Fetch.continueWithAuth.
- Disable
Params - Parameters for Fetch.disable.
- Enable
Params - Parameters for Fetch.enable.
- Fail
Request Params - Parameters for Fetch.failRequest.
- Fulfill
Request Params - Parameters for Fetch.fulfillRequest.
- GetResponse
Body Params - Parameters for Fetch.getResponseBody.
- GetResponse
Body Result - Result for Fetch.getResponseBody.
- Header
Entry - Response HTTP header entry.
- Request
Pattern - Request pattern for interception.
- Request
Paused Event - Event: Fetch.requestPaused
Enums§
- Auth
Challenge Response Type - The decision on what to do in response to the authorization challenge.
- Auth
Challenge Source - Source of the authentication challenge.
- Error
Reason - Network level fetch failure reason.
- Request
Stage - Stage at which to begin intercepting requests.
Type Aliases§
- Request
Id - Unique request identifier for the Fetch domain.