C# Class OpenQA.Selenium.Remote.HttpCommandExecutor

Provides a way of executing Commands over HTTP
Inheritance: ICommandExecutor
Datei anzeigen Open project: asynchrony/Selenium2 Class Usage Examples

Public Methods

Method Description
Execute ( Command commandToExecute ) : Response

Executes a command

HttpCommandExecutor ( Uri addressOfRemoteServer, System.TimeSpan timeout ) : System

Initializes a new instance of the HttpCommandExecutor class

Private Methods

Method Description
CreateResponse ( WebRequest request ) : Response
GetTextOfWebResponse ( HttpWebResponse webResponse ) : string

Method Details

Execute() public method

Executes a command
public Execute ( Command commandToExecute ) : Response
commandToExecute Command The command you wish to execute
return Response

HttpCommandExecutor() public method

Initializes a new instance of the HttpCommandExecutor class
public HttpCommandExecutor ( Uri addressOfRemoteServer, System.TimeSpan timeout ) : System
addressOfRemoteServer System.Uri Address of the WebDriver Server
timeout System.TimeSpan The timeout within which the server must respond.
return System