CookieData
Namespace: PuppeteerSharp
public class CookieDataCookie parameter object used to set cookies in the browser-level cookies API.
Inheritance: object
Properties
Section titled “Properties”Domain
Section titled “Domain”public string Domain { get; set; }Gets or sets the domain.
Value: string
Expires
Section titled “Expires”public double? Expires { get; set; }Gets or sets the expiration. Unix time in seconds.
Value: double?
HttpOnly
Section titled “HttpOnly”public bool? HttpOnly { get; set; }Gets or sets if it’s HTTP only.
Value: bool?
public string Name { get; set; }Gets or sets the name.
Value: string
PartitionKey
Section titled “PartitionKey”[JsonConverter(typeof(CookiePartitionKeyConverter))]public CookiePartitionKey PartitionKey { get; set; }Cookie partition key. In Chrome, it matches the top-level site the partitioned cookie is available in. In Firefox, it matches the source origin.
Value: CookiePartitionKey
public string Path { get; set; }Gets or sets the path.
Value: string
Priority
Section titled “Priority”public CookiePriority? Priority { get; set; }Cookie Priority. Supported only in Chrome.
Value: CookiePriority?
SameSite
Section titled “SameSite”public SameSite? SameSite { get; set; }Gets or sets the cookies SameSite value.
Value: SameSite?
Secure
Section titled “Secure”public bool? Secure { get; set; }Gets or sets if it’s secure.
Value: bool?
SourceScheme
Section titled “SourceScheme”public CookieSourceScheme? SourceScheme { get; set; }Cookie source scheme type. Supported only in Chrome.
Value: CookieSourceScheme?
public string Value { get; set; }Gets or sets the value.
Value: string
Made with love by Dario Kondratiuk