C# Class OpenQA.Selenium.Remote.Server.CommandHandlers.GetAllCookiesHandler

Provides the handler for the DriverCommand.GetAllCookies command.
Inheritance: WebDriverCommandHandler
显示文件 Open project: jimevans/strontium

Public Methods

Method Description
Execute ( ) : object

Gets all cookies for the current driver session.

GetAllCookiesHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System

Initializes a new instance of the GetAllCookiesHandler class.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Private Methods

Method Description
ProcessCookie ( Cookie singleCookie ) : object>.Dictionary

Method Details

Execute() public method

Gets all cookies for the current driver session.
public Execute ( ) : object
return object

GetAllCookiesHandler() public method

Initializes a new instance of the GetAllCookiesHandler class.
public GetAllCookiesHandler ( 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.
return System

ToString() public method

Returns a string representing the description of this CommandHandler.
public ToString ( ) : string
return string