C# Класс OpenQA.Selenium.Remote.Server.CommandHandlers.AddCookieHandler

Provides the handler for the DriverCommand.AddCookie command.
Наследование: WebDriverCommandHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
AddCookieHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System

Initializes a new instance of the AddCookieHandler class.

Execute ( ) : object

Adds a cookie to the current driver.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Приватные методы

Метод Описание
ProcessCookieParameter ( object>.Dictionary rawCookie ) : Cookie

Описание методов

AddCookieHandler() публичный Метод

Initializes a new instance of the AddCookieHandler class.
public AddCookieHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System
locatorParameters string>.Dictionary A containing the parameters used to match a resource in the URL.
parameters object>.Dictionary A containing the parameters used to operate on the resource.
Результат System

Execute() публичный Метод

Adds a cookie to the current driver.
public Execute ( ) : object
Результат object

ToString() публичный Метод

Returns a string representing the description of this CommandHandler.
public ToString ( ) : string
Результат string