Table of Contents

Class RequestWillBeSentExtraInfoEventArgs

Namespace
OpenQA.Selenium.DevTools.V147.Network
Assembly
Selenium.WebDriver.dll

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.

public sealed class RequestWillBeSentExtraInfoEventArgs : EventArgs
Inheritance
RequestWillBeSentExtraInfoEventArgs
Inherited Members

Properties

AppliedNetworkConditionsId

The network conditions id if this request was affected by network conditions configured via emulateNetworkConditionsByRule.

[JsonPropertyName("appliedNetworkConditionsId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? AppliedNetworkConditionsId { get; set; }

Property Value

string

AssociatedCookies

A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReasons field set.

[JsonPropertyName("associatedCookies")]
public AssociatedCookie[] AssociatedCookies { get; set; }

Property Value

AssociatedCookie[]

ClientSecurityState

The client security state set for the request.

[JsonPropertyName("clientSecurityState")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ClientSecurityState? ClientSecurityState { get; set; }

Property Value

ClientSecurityState

ConnectTiming

Connection timing information for the request.

[JsonPropertyName("connectTiming")]
public ConnectTiming ConnectTiming { get; set; }

Property Value

ConnectTiming

DeviceBoundSessionUsages

How the request site's device bound sessions were used during this request.

[JsonPropertyName("deviceBoundSessionUsages")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DeviceBoundSessionWithUsage[]? DeviceBoundSessionUsages { get; set; }

Property Value

DeviceBoundSessionWithUsage[]

Headers

Raw request headers as they will be sent over the wire.

[JsonPropertyName("headers")]
public Headers Headers { get; set; }

Property Value

Headers

RequestId

Request identifier. Used to match this information to an existing requestWillBeSent event.

[JsonPropertyName("requestId")]
public string RequestId { get; set; }

Property Value

string

SiteHasCookieInOtherPartition

Whether the site has partitioned cookies stored in a partition different than the current one.

[JsonPropertyName("siteHasCookieInOtherPartition")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? SiteHasCookieInOtherPartition { get; set; }

Property Value

bool?