Table of Contents

Interface IBrowsingContextNetworkModule

Namespace
OpenQA.Selenium.BiDi.BrowsingContext
Assembly
Selenium.WebDriver.dll
public interface IBrowsingContextNetworkModule

Properties

AuthRequired

IEventSource<AuthRequiredEventArgs> AuthRequired { get; }

Property Value

IEventSource<AuthRequiredEventArgs>

BeforeRequestSent

IEventSource<BeforeRequestSentEventArgs> BeforeRequestSent { get; }

Property Value

IEventSource<BeforeRequestSentEventArgs>

FetchError

IEventSource<FetchErrorEventArgs> FetchError { get; }

Property Value

IEventSource<FetchErrorEventArgs>

ResponseCompleted

IEventSource<ResponseCompletedEventArgs> ResponseCompleted { get; }

Property Value

IEventSource<ResponseCompletedEventArgs>

ResponseStarted

IEventSource<ResponseStartedEventArgs> ResponseStarted { get; }

Property Value

IEventSource<ResponseStartedEventArgs>

Methods

AddDataCollectorAsync(IEnumerable<DataType>, int, ContextAddDataCollectorOptions?, CancellationToken)

Task<AddDataCollectorResult> AddDataCollectorAsync(IEnumerable<DataType> dataTypes, int maxEncodedDataSize, ContextAddDataCollectorOptions? options = null, CancellationToken cancellationToken = default)

Parameters

dataTypes IEnumerable<DataType>
maxEncodedDataSize int
options ContextAddDataCollectorOptions
cancellationToken CancellationToken

Returns

Task<AddDataCollectorResult>

SetCacheBehaviorAsync(CacheBehavior, ContextSetCacheBehaviorOptions?, CancellationToken)

Task<SetCacheBehaviorResult> SetCacheBehaviorAsync(CacheBehavior behavior, ContextSetCacheBehaviorOptions? options = null, CancellationToken cancellationToken = default)

Parameters

behavior CacheBehavior
options ContextSetCacheBehaviorOptions
cancellationToken CancellationToken

Returns

Task<SetCacheBehaviorResult>