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

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

Public Methods

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

Initializes a new instance of the DismissAlertHandler class.

Execute ( ) : object

Dismisses the current alert.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Method Details

DismissAlertHandler() public method

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

Dismisses the current alert.
public Execute ( ) : object
return object

ToString() public method

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