DesiredCapabilities MethodsWebDriver
The DesiredCapabilities type exposes the following members.
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
See Also