Table of Contents

Class BlockedSetCookieWithReason

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

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

public sealed class BlockedSetCookieWithReason
Inheritance
BlockedSetCookieWithReason
Inherited Members

Properties

BlockedReasons

The reason(s) this cookie was blocked.

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

Property Value

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.

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

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.

[JsonPropertyName("cookieLine")]
public string CookieLine { get; set; }

Property Value

string