C# Class OpenQA.Selenium.Remote.HttpCommandExecutor

Provides a way of executing Commands over HTTP
Inheritance: ICommandExecutor
Afficher le fichier Open project: asynchrony/Selenium2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateResponse ( WebRequest request ) : Response
GetTextOfWebResponse ( HttpWebResponse webResponse ) : string

Method Details

Execute() public méthode

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

HttpCommandExecutor() public méthode

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.
Résultat System