Table of Contents

Class SetCookieCommandResponse

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

Response for Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

public sealed class SetCookieCommandResponse : ICommandResponse<SetCookieCommandSettings>, ICommandResponse
Inheritance
SetCookieCommandResponse
Implements
Inherited Members
Extension Methods

Properties

Success

Always set to true. If an error occurs, the response indicates protocol error.

[JsonPropertyName("success")]
public bool Success { get; set; }

Property Value

bool