Table of Contents

Class AssociatedCookie

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

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.

public sealed class AssociatedCookie
Inheritance
AssociatedCookie
Inherited Members

Properties

BlockedReasons

The reason(s) the cookie was blocked. If empty means the cookie is included.

[JsonPropertyName("blockedReasons")]
public CookieBlockedReason[] BlockedReasons { get; set; }

Property Value

CookieBlockedReason[]

The cookie object representing the cookie which was not sent.

[JsonPropertyName("cookie")]
public Cookie Cookie { get; set; }

Property Value

Cookie

ExemptionReason

The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.

[JsonPropertyName("exemptionReason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookieExemptionReason? ExemptionReason { get; set; }

Property Value

CookieExemptionReason?