ClassEdgeCommand
Class
Provides a way to send commands to the remote server
Definition
Namespace:ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class EdgeCommand
Inheritance: objectEdgeCommand
Constructors
EdgeCommand(SessionId, string, Dictionary<string, object>)
Initializes a new instance of the Command class for a Session
Declaration
cs-api-definition
public EdgeCommand(SessionId sessionId, string name, Dictionary<string, object> parameters = null)
Parameters
sessionId
Session ID the driver is using
name
Name of the command
parameters
Parameters for that command
EdgeCommand(string, string)
Initializes a new instance of the Command class using a command name and a JSON-encoded string for the parameters.
Properties
Name
Gets the command name
Parameters
Gets the parameters of the command
Declaration
cs-api-definition
public Dictionary<string, object> Parameters { get; }
Property Value
ParametersAsJsonString
Gets the parameters of the command as a JSON-encoded string.
Methods
ToString()
Returns a string of the Command object
Declaration
cs-api-definition
public override string ToString()
Returns
A string representation of the EdgeCommand Object
Overrides