Table of Contents

Class BlockedSetCookieWithReason

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

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

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

Constructors

BlockedSetCookieWithReason(ImmutableArray<SetCookieBlockedReason>, string)

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

public BlockedSetCookieWithReason(ImmutableArray<SetCookieBlockedReason> BlockedReasons, string CookieLine)

Parameters

BlockedReasons ImmutableArray<SetCookieBlockedReason>

The reason(s) this cookie was blocked.

CookieLine string

The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.

Properties

BlockedReasons

The reason(s) this cookie was blocked.

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

Property Value

ImmutableArray<SetCookieBlockedReason>

The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.

public Cookie? Cookie { get; init; }

Property Value

Cookie

CookieLine

The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.

public string CookieLine { get; init; }

Property Value

string