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

Provides the handler for the DriverCommand.GetCurrentWindowHandle command.
Inheritance: WebDriverCommandHandler
ファイルを表示 Open project: jimevans/strontium

Public Methods

Method Description
Execute ( ) : object

Gets the current window handle for the current driver session.

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

Initializes a new instance of the GetCurrentWindowHandler class.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Method Details

Execute() public method

Gets the current window handle for the current driver session.
public Execute ( ) : object
return object

GetCurrentWindowHandler() public method

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