DesiredCapabilities MembersWebDriver

The DesiredCapabilities type exposes the following members.
Constructors

  NameDescription
Public methodDesiredCapabilities 
Initializes a new instance of the DesiredCapabilities class
Public methodDesiredCapabilities(Dictionary String, Object )
Initializes a new instance of the DesiredCapabilities class
Public methodDesiredCapabilities(String, String, Platform)
Initializes a new instance of the DesiredCapabilities class
Back to Top
Methods

  NameDescription
Public methodStatic memberAndroid
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberChrome
Method to return a new DesiredCapabilities using defaults
Public methodEquals
Compare two DesiredCapabilities and will return either true or false
(Overrides OnlineObject Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberFirefox
Method to return a new DesiredCapabilities using defaults
Public methodGetCapability
Gets a capability of the browser.
Public methodGetHashCode
Return HashCode for the DesiredCapabilities that has been created
(Overrides OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodHasCapability
Gets a value indicating whether the browser has a given capability.
Public methodStatic memberHtmlUnit
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberHtmlUnitWithJavaScript
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberInternetExplorer
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberIPad
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberIPhone
Method to return a new DesiredCapabilities using defaults
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberOpera
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberPhantomJS
Method to return a new DesiredCapabilities using defaults
Public methodStatic memberSafari
Method to return a new DesiredCapabilities using defaults
Public methodSetCapability
Sets a capability of the browser.
Public methodToString
Return a string of capabilities being used
(Overrides OnlineObject ToString .)
Back to Top
Properties

  NameDescription
Public propertyBrowserName
Gets the browser name
Public propertyIsJavaScriptEnabled
Gets or sets a value indicating whether the browser is JavaScript enabled
Public propertyPlatform
Gets or sets the platform
Public propertyVersion
Gets the browser version
Back to Top
See Also