Table of Contents

Namespace Selenium.WebDriver.BiDi.Cdp.Network

Classes

AdAncestry

Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.

AdProvenance

Represents the provenance of an ad resource or element. Only one of filterlistRule or adScriptAncestry can be set. If filterlistRule is provided, the resource URL directly matches a filter list rule. If adScriptAncestry is provided, an ad script initiated the resource fetch or appended the element to the DOM. If neither is provided, the entity is known to be an ad, but provenance tracking information is unavailable.

AdScriptIdentifier

Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.

AssociatedCookie

A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.

AuthChallenge

Authorization challenge for HTTP status code 401 or 407.

AuthChallengeResponse

Response to an AuthChallenge.

BlockPattern
BlockedSetCookieWithReason

A cookie which was not stored from a response with the corresponding reason.

CachedResource

Information about the cached resource.

CanClearBrowserCacheResult
CanClearBrowserCookiesResult
CanEmulateNetworkConditionsResult
ChallengeEventDetails

Session event details specific to challenges.

ClearBrowserCacheResult
ClearBrowserCookiesResult
ClientSecurityState
ConfigureDurableMessagesResult
ConnectTiming
ContentSecurityPolicyStatus
Cookie

Cookie object

CookieParam

Cookie parameter object

CookiePartitionKey

cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.

CorsErrorStatus
CreationEventDetails

Session event details specific to creation.

CrossOriginEmbedderPolicyStatus
CrossOriginOpenerPolicyStatus
DataReceivedEventArgs

Fired when data chunk was received over the network.

DeleteCookiesResult
DeleteDeviceBoundSessionResult
DeviceBoundSession

A device bound session.

DeviceBoundSessionCookieCraving

A device bound session's cookie craving.

DeviceBoundSessionEventId

A unique identifier for a device bound session event.

DeviceBoundSessionEventOccurredEventArgs

Triggered when a device bound session event occurs.

DeviceBoundSessionFailedRequest

Details about a failed device bound session network request.

DeviceBoundSessionInclusionRules

A device bound session's inclusion rules.

DeviceBoundSessionKey

Unique identifier for a device bound session.

DeviceBoundSessionUrlRule

A device bound session's inclusion URL rule.

DeviceBoundSessionWithUsage

How a device bound session was used during a request.

DeviceBoundSessionsAddedEventArgs

Triggered when the initial set of device bound sessions is added.

DirectTCPSocketAbortedEventArgs

Fired when direct_socket.TCPSocket is aborted.

DirectTCPSocketChunkReceivedEventArgs

Fired when data is received from tcp direct socket stream.

DirectTCPSocketChunkSentEventArgs

Fired when data is sent to tcp direct socket stream.

DirectTCPSocketClosedEventArgs

Fired when direct_socket.TCPSocket is closed.

DirectTCPSocketCreatedEventArgs

Fired upon direct_socket.TCPSocket creation.

DirectTCPSocketOpenedEventArgs

Fired when direct_socket.TCPSocket connection is opened.

DirectTCPSocketOptions
DirectUDPMessage
DirectUDPSocketAbortedEventArgs

Fired when direct_socket.UDPSocket is aborted.

DirectUDPSocketChunkReceivedEventArgs

Fired when message is received from udp direct socket stream.

DirectUDPSocketChunkSentEventArgs

Fired when message is sent to udp direct socket stream.

DirectUDPSocketClosedEventArgs

Fired when direct_socket.UDPSocket is closed.

DirectUDPSocketCreatedEventArgs

Fired upon direct_socket.UDPSocket creation.

DirectUDPSocketJoinedMulticastGroupEventArgs
DirectUDPSocketLeftMulticastGroupEventArgs
DirectUDPSocketOpenedEventArgs

Fired when direct_socket.UDPSocket connection is opened.

DirectUDPSocketOptions
DisableResult
EmulateNetworkConditionsByRuleResult
EmulateNetworkConditionsResult
EnableDeviceBoundSessionsResult
EnableReportingApiResult
EnableResult
EventSourceMessageReceivedEventArgs

Fired when EventSource message is received.

ExemptedSetCookieWithReason

A cookie should have been blocked by 3PCD but is exempted and stored from a response with the corresponding reason. A cookie could only have at most one exemption reason.

FetchSchemefulSiteResult
GetAllCookiesResult
GetCertificateResult
GetCookiesResult
GetRequestPostDataResult
GetResponseBodyResult
GetSecurityIsolationStatusResult
Initiator

Information about the request initiator.

LoadNetworkResourceOptions

An options object that may be extended later to better support CORS, CORB and streaming.

LoadNetworkResourcePageResult

An object providing the result of a network resource load.

LoadNetworkResourceResult
LoaderId

Unique loader identifier.

LoadingFailedEventArgs

Fired when HTTP request has failed to load.

LoadingFinishedEventArgs

Fired when HTTP request has finished loading.

MonotonicTime

Monotonically increasing time in seconds since an arbitrary point in the past.

NetworkConditions
NetworkDomainEvent

Provides static event descriptors for the INetwork.

OverrideNetworkStateResult
PolicyUpdatedEventArgs

Fired once security policy has been updated.

PostDataEntry

Post data entry for HTTP request

RefreshEventDetails

Session event details specific to refresh.

ReplayXHRResult
ReportId
ReportingApiEndpoint
ReportingApiEndpointsChangedForOriginEventArgs
ReportingApiReport

An object representing a report generated by the Reporting API.

ReportingApiReportAddedEventArgs

Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.

ReportingApiReportUpdatedEventArgs
Request

HTTP request data.

RequestId

Unique network request identifier. Note that this does not identify individual HTTP requests that are part of a network request.

RequestServedFromCacheEventArgs

Fired if request ended up loading from cache.

RequestWillBeSentEventArgs

Fired when page is about to send HTTP request.

RequestWillBeSentExtraInfoEventArgs

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

ResourceChangedPriorityEventArgs

Fired when resource loading priority is changed

ResourceTiming

Timing information for the request.

Response

HTTP response data.

ResponseReceivedEarlyHintsEventArgs

Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.

ResponseReceivedEventArgs

Fired when HTTP response is available.

ResponseReceivedExtraInfoEventArgs

Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.

SearchInResponseBodyResult
SecurityDetails

Security details about a request.

SecurityIsolationStatus
ServiceWorkerRouterInfo
SetAttachDebugStackResult
SetBlockedURLsResult
SetBypassServiceWorkerResult
SetCacheDisabledResult
SetCookieControlsResult
SetCookieResult
SetCookiesResult
SetExtraHTTPHeadersResult
SetUserAgentOverrideResult
SignedCertificateTimestamp

Details of a signed certificate timestamp (SCT).

SignedExchangeError

Information about a signed exchange response.

SignedExchangeHeader

Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation

SignedExchangeInfo

Information about a signed exchange response.

SignedExchangeReceivedEventArgs

Fired when a signed exchange was received over the network

SignedExchangeSignature

Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1

StreamResourceContentResult
TerminationEventDetails

Session event details specific to termination.

TimeSinceEpoch

UTC time in seconds, counted from January 1, 1970.

TrustTokenOperationDoneEventArgs

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

TrustTokenParams

Determines what type of Trust Token operation is executed and depending on the type, some additional parameters. The values are specified in third_party/blink/renderer/core/fetch/trust_token.idl.

WebSocketClosedEventArgs

Fired when WebSocket is closed.

WebSocketCreatedEventArgs

Fired upon WebSocket creation.

WebSocketFrame

WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.

WebSocketFrameErrorEventArgs

Fired when WebSocket message error occurs.

WebSocketFrameReceivedEventArgs

Fired when WebSocket message is received.

WebSocketFrameSentEventArgs

Fired when WebSocket message is sent.

WebSocketHandshakeResponseReceivedEventArgs

Fired when WebSocket handshake response becomes available.

WebSocketRequest

WebSocket request data.

WebSocketResponse

WebSocket response data.

WebSocketWillSendHandshakeRequestEventArgs

Fired when WebSocket is about to initiate handshake.

WebTransportClosedEventArgs

Fired when WebTransport is disposed.

WebTransportConnectionEstablishedEventArgs

Fired when WebTransport handshake is finished.

WebTransportCreatedEventArgs

Fired upon WebTransport creation.

Interfaces

INetwork

Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.

Enums

AlternateProtocolUsage

The reason why Chrome uses a specific transport protocol for HTTP semantics.

BlockedReason

The reason why request was blocked.

CertificateTransparencyCompliance

Whether the request complied with Certificate Transparency policy.

ConnectionType

Request / response headers as keys / values of JSON object.

ContentSecurityPolicySource
CookieBlockedReason

Types of reasons why a cookie may not be sent with a request.

CookieExemptionReason

Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.

CookiePriority

Represents the cookie's 'Priority' status: https://tools.ietf.org/html/draft-west-cookie-priority-00

CookieSameSite

Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies

CookieSourceScheme

Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.

CorsError

The reason why request was blocked.

CrossOriginEmbedderPolicyValue
CrossOriginOpenerPolicyValue
DeviceBoundSessionFetchResult

A fetch result for a device bound session creation or refresh. LINT.IfChange(DeviceBoundSessionFetchResult)

DirectSocketDnsQueryType
ErrorReason

Network level fetch failure reason.

IPAddressSpace
LocalNetworkAccessRequestPolicy
RenderBlockingBehavior

The render-blocking behavior of a resource request.

ReportStatus

The status of a Reporting API report.

ResourcePriority

Loading priority of a resource request.

ResourceType

Resource type as it was perceived by the rendering engine.

ServiceWorkerResponseSource

Source of serviceworker response.

ServiceWorkerRouterSource

Source of service worker router.

SetCookieBlockedReason

Types of reasons why a cookie may not be stored from a response.

SignedExchangeErrorField

Field type for a signed exchange related error.

TrustTokenOperationType