C# Class OpenQA.Selenium.Remote.CommandInfo

Provides the execution information for a DriverCommand.
ファイルを表示 Open project: asynchrony/Selenium2 Class Usage Examples

Public Methods

Method Description
CommandInfo ( string method, string resourcePath ) : System

Initializes a new instance of the CommandInfo class

CreateWebRequest ( Uri baseUri, Command commandToExecute ) : HttpWebRequest

Creates a webrequest for your command

Private Methods

Method Description
GetCommandPropertyValue ( string propertyName, Command commandToExecute ) : string

Method Details

CommandInfo() public method

Initializes a new instance of the CommandInfo class
public CommandInfo ( string method, string resourcePath ) : System
method string Method of the Command
resourcePath string Relative URL path to the resource used to execute the command
return System

CreateWebRequest() public method

Creates a webrequest for your command
public CreateWebRequest ( Uri baseUri, Command commandToExecute ) : HttpWebRequest
baseUri System.Uri Uri that will have the command run against
commandToExecute Command Command to execute
return System.Net.HttpWebRequest