Table of Contents

Class CookieIssueDetails

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

This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

public sealed record CookieIssueDetails : IEquatable<CookieIssueDetails>
Inheritance
CookieIssueDetails
Implements
Inherited Members

Constructors

CookieIssueDetails(ImmutableArray<CookieWarningReason>, ImmutableArray<CookieExclusionReason>, CookieOperation)

This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

public CookieIssueDetails(ImmutableArray<CookieWarningReason> CookieWarningReasons, ImmutableArray<CookieExclusionReason> CookieExclusionReasons, CookieOperation Operation)

Parameters

CookieWarningReasons ImmutableArray<CookieWarningReason>
CookieExclusionReasons ImmutableArray<CookieExclusionReason>
Operation CookieOperation

Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.

Properties

If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.

public AffectedCookie? Cookie { get; init; }

Property Value

AffectedCookie

CookieExclusionReasons

public ImmutableArray<CookieExclusionReason> CookieExclusionReasons { get; init; }

Property Value

ImmutableArray<CookieExclusionReason>

CookieUrl

public string? CookieUrl { get; init; }

Property Value

string

CookieWarningReasons

public ImmutableArray<CookieWarningReason> CookieWarningReasons { get; init; }

Property Value

ImmutableArray<CookieWarningReason>

Insight

The recommended solution to the issue.

public CookieIssueInsight? Insight { get; init; }

Property Value

CookieIssueInsight

Operation

Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.

public CookieOperation Operation { get; init; }

Property Value

CookieOperation

RawCookieLine

public string? RawCookieLine { get; init; }

Property Value

string

Request

public AffectedRequest? Request { get; init; }

Property Value

AffectedRequest

SiteForCookies

public string? SiteForCookies { get; init; }

Property Value

string