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