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

Provides the handler for the DriverCommand.DeleteCookie command.
Inheritance: WebDriverCommandHandler
Show file Open project: jimevans/strontium

Public Methods

Method Description
DeleteCookieNamedHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System

Initializes a new instance of the DeleteCookieNamedHandler class.

Execute ( ) : object

Deletes a cookie with a given name from the current driver session.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Method Details

DeleteCookieNamedHandler() public method

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

Execute() public method

Deletes a cookie with a given name from the current driver session.
public Execute ( ) : object
return object

ToString() public method

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