Table of Contents

Class SetCookiesCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.Storage
Assembly
Selenium.WebDriver.dll

Sets given cookies.

public sealed class SetCookiesCommandSettings : ICommand
Inheritance
SetCookiesCommandSettings
Implements
Inherited Members

Properties

BrowserContextId

Browser context to use when called on the browser endpoint.

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

Property Value

string

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Cookies

Cookies to be set.

[JsonPropertyName("cookies")]
public CookieParam[] Cookies { get; set; }

Property Value

CookieParam[]