Table of Contents

Class AssociatedCookie

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.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 record AssociatedCookie : IEquatable<AssociatedCookie>
Inheritance
AssociatedCookie
Implements
Inherited Members

Constructors

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 AssociatedCookie(Cookie Cookie, ImmutableArray<CookieBlockedReason> BlockedReasons)

Parameters

Cookie Cookie

The cookie object representing the cookie which was not sent.

BlockedReasons ImmutableArray<CookieBlockedReason>

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

Properties

BlockedReasons

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

public ImmutableArray<CookieBlockedReason> BlockedReasons { get; init; }

Property Value

ImmutableArray<CookieBlockedReason>

The cookie object representing the cookie which was not sent.

public Cookie Cookie { get; init; }

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.

public CookieExemptionReason? ExemptionReason { get; init; }

Property Value

CookieExemptionReason?