C# 클래스 OpenQA.Selenium.Remote.Command

Provides a way to send commands to the remote server
파일 보기 프로젝트 열기: asynchrony/Selenium2 1 사용 예제들

공개 메소드들

메소드 설명
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