Table of Contents

Class Interception

Namespace
OpenQA.Selenium.BiDi.Network
Assembly
WebDriver.dll
public sealed record Interception : IAsyncDisposable, IEquatable<Interception>
Inheritance
Interception
Implements
Inherited Members

Constructors

Interception(BiDi, Intercept)

public Interception(BiDi BiDi, Intercept Intercept)

Parameters

BiDi BiDi
Intercept Intercept

Properties

BiDi

public BiDi BiDi { get; init; }

Property Value

BiDi

Intercept

public Intercept Intercept { get; init; }

Property Value

Intercept

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task>, SubscriptionOptions?)

public Task OnAuthRequiredAsync(Func<AuthRequiredEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<AuthRequiredEventArgs, Task>
options SubscriptionOptions

Returns

Task

OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task>, SubscriptionOptions?)

public Task OnBeforeRequestSentAsync(Func<BeforeRequestSentEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<BeforeRequestSentEventArgs, Task>
options SubscriptionOptions

Returns

Task

OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task>, SubscriptionOptions?)

public Task OnResponseStartedAsync(Func<ResponseStartedEventArgs, Task> handler, SubscriptionOptions? options = null)

Parameters

handler Func<ResponseStartedEventArgs, Task>
options SubscriptionOptions

Returns

Task

RemoveAsync()

public Task RemoveAsync()

Returns

Task