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

Class to Create the capabilities of the browser you require for RemoteWebDriver. If you wish to use default values use the static methods
상속: ICapabilities
파일 보기 프로젝트 열기: epall/selenium 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Chrome ( ) : DesiredCapabilities

Method to return a new DesiredCapabilities using defaults

DesiredCapabilities ( ) : System

Initializes a new instance of the DesiredCapabilities class

DesiredCapabilities ( object>.Dictionary rawMap ) : System

Initializes a new instance of the DesiredCapabilities class

DesiredCapabilities ( string browser, string version, System.Platform platform ) : System

Initializes a new instance of the DesiredCapabilities class

Equals ( object obj ) : bool

Compare two DesiredCapabilities and will return either true or false

Firefox ( ) : DesiredCapabilities

Method to return a new DesiredCapabilities using defaults

GetHashCode ( ) : int

Return HashCode for the DesiredCapabilties that has been created

HtmlUnit ( ) : DesiredCapabilities

Method to return a new DesiredCapabilities using defaults

IPhone ( ) : DesiredCapabilities

Method to return a new DesiredCapabilities using defaults

InternetExplorer ( ) : DesiredCapabilities

Method to return a new DesiredCapabilities using defaults

ToString ( ) : string

Return a string of capabilies being used

메소드 상세

Chrome() 공개 정적인 메소드

Method to return a new DesiredCapabilities using defaults
public static Chrome ( ) : DesiredCapabilities
리턴 DesiredCapabilities

DesiredCapabilities() 공개 메소드

Initializes a new instance of the DesiredCapabilities class
public DesiredCapabilities ( ) : System
리턴 System

DesiredCapabilities() 공개 메소드

Initializes a new instance of the DesiredCapabilities class
public DesiredCapabilities ( object>.Dictionary rawMap ) : System
rawMap object>.Dictionary Dictionary of items for the remotedriver
리턴 System

DesiredCapabilities() 공개 메소드

Initializes a new instance of the DesiredCapabilities class
public DesiredCapabilities ( string browser, string version, System.Platform platform ) : System
browser string Name of the browser e.g. firefox, internet explorer, safari
version string Version of the browser
platform System.Platform The platform it works on
리턴 System

Equals() 공개 메소드

Compare two DesiredCapabilities and will return either true or false
public Equals ( object obj ) : bool
obj object DesiredCapabities you wish to compare
리턴 bool

Firefox() 공개 정적인 메소드

Method to return a new DesiredCapabilities using defaults
public static Firefox ( ) : DesiredCapabilities
리턴 DesiredCapabilities

GetHashCode() 공개 메소드

Return HashCode for the DesiredCapabilties that has been created
public GetHashCode ( ) : int
리턴 int

HtmlUnit() 공개 정적인 메소드

Method to return a new DesiredCapabilities using defaults
public static HtmlUnit ( ) : DesiredCapabilities
리턴 DesiredCapabilities

IPhone() 공개 정적인 메소드

Method to return a new DesiredCapabilities using defaults
public static IPhone ( ) : DesiredCapabilities
리턴 DesiredCapabilities

InternetExplorer() 공개 정적인 메소드

Method to return a new DesiredCapabilities using defaults
public static InternetExplorer ( ) : DesiredCapabilities
리턴 DesiredCapabilities

ToString() 공개 메소드

Return a string of capabilies being used
public ToString ( ) : string
리턴 string