Table of Contents

Class LoadingFailedEventArgs

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

Fired when HTTP request has failed to load.

public sealed record LoadingFailedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<LoadingFailedEventArgs>
Inheritance
EventArgs
LoadingFailedEventArgs
Implements
IEquatable<EventArgs>
Inherited Members
EventArgs.ToString()
EventArgs.GetHashCode()
EventArgs.Equals(EventArgs)
EventArgs.<Clone>$()
EventArgs.BiDi
EventArgs.AdditionalData
EventArgs.AdditionalMessageData

Constructors

LoadingFailedEventArgs(RequestId, MonotonicTime, ResourceType, string, bool?, BlockedReason?, CorsErrorStatus?)

Fired when HTTP request has failed to load.

public LoadingFailedEventArgs(RequestId RequestId, MonotonicTime Timestamp, ResourceType Type, string ErrorText, bool? Canceled = null, BlockedReason? BlockedReason = null, CorsErrorStatus? CorsErrorStatus = null)

Parameters

RequestId RequestId

Request identifier.

Timestamp MonotonicTime

Timestamp.

Type ResourceType

Resource type.

ErrorText string

Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h

Canceled bool?

True if loading was canceled.

BlockedReason BlockedReason?

The reason why loading was blocked, if any.

CorsErrorStatus CorsErrorStatus

The reason why loading was blocked by CORS, if any.

Properties

BlockedReason

The reason why loading was blocked, if any.

public BlockedReason? BlockedReason { get; init; }

Property Value

BlockedReason?

Canceled

True if loading was canceled.

public bool? Canceled { get; init; }

Property Value

bool?

CorsErrorStatus

The reason why loading was blocked by CORS, if any.

public CorsErrorStatus? CorsErrorStatus { get; init; }

Property Value

CorsErrorStatus

ErrorText

public string ErrorText { get; init; }

Property Value

string

RequestId

Request identifier.

public RequestId RequestId { get; init; }

Property Value

RequestId

Timestamp

Timestamp.

public MonotonicTime Timestamp { get; init; }

Property Value

MonotonicTime

Type

Resource type.

public ResourceType Type { get; init; }

Property Value

ResourceType