Class
EdgeCommandInfo

Provides the execution information for a WebDriverCommand.

Definition

Namespace:ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class EdgeCommandInfo

Inheritance: objectEdgeCommandInfo

Constructors

EdgeCommandInfo(string, string)

Initializes a new instance of the EdgeCommandInfo class

Declaration

cs-api-definition
public EdgeCommandInfo(string method, string resourcePath)

Parameters

method

string

Method of the Command

resourcePath

string

Relative URL path to the resource used to execute the command

Fields

DeleteCommand

DELETE verb for the command info

Declaration

cs-api-definition
public const string DeleteCommand = "DELETE"

Field Value

string

GetCommand

GET verb for the command info

Declaration

cs-api-definition
public const string GetCommand = "GET"

Field Value

string

PostCommand

POST verb for the command info

Declaration

cs-api-definition
public const string PostCommand = "POST"

Field Value

string

Properties

Method

Gets the HTTP method associated with the command.

Declaration

cs-api-definition
public string Method { get; }

Property Value

string

ResourcePath

Gets the URL representing the path to the resource.

Declaration

cs-api-definition
public string ResourcePath { get; }

Property Value

string

Methods

CreateWebRequest(Uri, EdgeCommand)

Creates a web request for your command

Declaration

cs-api-definition
public HttpWebRequest CreateWebRequest(Uri baseUri, EdgeCommand commandToExecute)

Parameters

baseUri

Uri

Uri that will have the command run against

commandToExecute

EdgeCommand

Command to execute

Returns

HttpWebRequest

A web request of what has been run