Class DeleteCookiesCommandSettings
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
public sealed class DeleteCookiesCommandSettings : ICommand
- Inheritance
-
DeleteCookiesCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Domain
If specified, deletes only cookies with the exact domain.
[JsonPropertyName("domain")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Domain { get; set; }
Property Value
Name
Name of the cookies to remove.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
PartitionKey
If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.
[JsonPropertyName("partitionKey")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookiePartitionKey? PartitionKey { get; set; }
Property Value
Path
If specified, deletes only cookies with the exact path.
[JsonPropertyName("path")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Path { get; set; }
Property Value
Url
If specified, deletes all the cookies with the given name where domain and path match provided URL.
[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }