Class Cookie
- Namespace
- OpenQA.Selenium.BiDi.Modules.Network
- Assembly
- WebDriver.dll
public record Cookie : IEquatable<Cookie>
- Inheritance
-
Cookie
- Implements
-
- Inherited Members
-
Constructors
Cookie(string, BytesValue, string, string, long, bool, bool, SameSite)
public Cookie(string Name, BytesValue Value, string Domain, string Path, long Size, bool HttpOnly, bool Secure, SameSite SameSite)
Parameters
Name
string
Value
BytesValue
Domain
string
Path
string
Size
long
HttpOnly
bool
Secure
bool
SameSite
SameSite
Properties
Domain
public string Domain { get; init; }
Property Value
- string
Expiry
[JsonInclude]
public DateTimeOffset? Expiry { get; }
Property Value
- DateTimeOffset?
HttpOnly
public bool HttpOnly { get; init; }
Property Value
- bool
Name
public string Name { get; init; }
Property Value
- string
Path
public string Path { get; init; }
Property Value
- string
SameSite
public SameSite SameSite { get; init; }
Property Value
- SameSite
Secure
public bool Secure { get; init; }
Property Value
- bool
Size
public long Size { get; init; }
Property Value
- long
Value
public BytesValue Value { get; init; }
Property Value
- BytesValue