Table of Contents

Class FetchDomainEvent

Namespace
Selenium.WebDriver.BiDi.Cdp.Fetch
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Provides static event descriptors for the IFetch.

public static class FetchDomainEvent
Inheritance
FetchDomainEvent
Inherited Members

Properties

AuthRequired

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

public static EventDescriptor<CdpEventArgs<AuthRequiredEventArgs>> AuthRequired { get; }

Property Value

EventDescriptor<CdpEventArgs<AuthRequiredEventArgs>>

RequestPaused

Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise. Redirect responses and subsequent requests are reported similarly to regular responses and requests. Redirect responses may be distinguished by the value of responseStatusCode (which is one of 301, 302, 303, 307, 308) along with presence of the location header. Requests resulting from a redirect will have redirectedRequestId field set.

public static EventDescriptor<CdpEventArgs<RequestPausedEventArgs>> RequestPaused { get; }

Property Value

EventDescriptor<CdpEventArgs<RequestPausedEventArgs>>