Table of Contents

Class GetCookiesCommandSettings

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

Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field.

public sealed class GetCookiesCommandSettings : ICommand
Inheritance
GetCookiesCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Urls

The list of URLs for which applicable cookies will be fetched. If not specified, it's assumed to be set to the list containing the URLs of the page and all of its subframes.

[JsonPropertyName("urls")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? Urls { get; set; }

Property Value

string[]