A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://seleniumhq.github.io/selenium/docs/api/dotnet/webdriver/OpenQA.Selenium.Command.html below:

Class Command

Class Command
Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Provides a way to send commands to the remote server

Inheritance

Command

Inherited Members
Constructors Command(SessionId?, string, Dictionary<string, object?>?)

Initializes a new instance of the Command class for a Session

public Command(SessionId? sessionId, string name, Dictionary<string, object?>? parameters)
Parameters
sessionId SessionId

Session ID the driver is using

name string

Name of the command

parameters Dictionary<string, object>

Parameters for that command

Exceptions
ArgumentNullException

If name is null.

Command(string, string)

Initializes a new instance of the Command class using a command name and a JSON-encoded string for the parameters.

public Command(string name, string jsonParameters)
Parameters
name string

Name of the command

jsonParameters string

Parameters for the command as a JSON-encoded string.

Properties Name

Gets the command name

[JsonPropertyName("name")]
public string Name { get; }
Property Value
string
Parameters

Gets the parameters of the command

[JsonPropertyName("parameters")]
public Dictionary<string, object?> Parameters { get; }
Property Value
Dictionary<string, object>
ParametersAsJsonString

Gets the parameters of the command as a JSON-encoded string.

public string ParametersAsJsonString { get; }
Property Value
string
SessionId

Gets the SessionID of the command

[JsonPropertyName("sessionId")]
public SessionId? SessionId { get; }
Property Value
SessionId
Methods ToString()

Returns a string of the Command object

public override string ToString()
Returns
string

A string representation of the Command Object


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4