C# Класс OpenQA.Selenium.Remote.Command

Provides a way to send commands to the remote server
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Command ( DriverCommand name, string jsonParameters ) : System.Collections.Generic

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

Command ( SessionId sessionId, DriverCommand name, object>.Dictionary parameters ) : System.Collections.Generic

Initializes a new instance of the Command class for a Session

ToString ( ) : string

Returns a string of the Command object

Приватные методы

Метод Описание
ConvertParametersFromJson ( string value ) : object>.Dictionary

Gets the command parameters as a Dictionary{K, V}, with a string key, and an object value.

Описание методов

Command() публичный Метод

Initializes a new instance of the Command class using a command name and a JSON-encoded string for the parameters.
public Command ( DriverCommand name, string jsonParameters ) : System.Collections.Generic
name DriverCommand Name of the command
jsonParameters string Parameters for the command as a JSON-encoded string.
Результат System.Collections.Generic

Command() публичный Метод

Initializes a new instance of the Command class for a Session
public Command ( SessionId sessionId, DriverCommand name, object>.Dictionary parameters ) : System.Collections.Generic
sessionId SessionId Session ID the driver is using
name DriverCommand Name of the command
parameters object>.Dictionary Parameters for that command
Результат System.Collections.Generic

ToString() публичный Метод

Returns a string of the Command object
public ToString ( ) : string
Результат string