Class Index | File Index

Classes


Class webdriver.Capabilities


Defined in: capabilities.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
webdriver.Capabilities.android()
<static>  
webdriver.Capabilities.chrome()
<static>  
webdriver.Capabilities.firefox()
 
get(key)
 
has(key)
<static>  
webdriver.Capabilities.htmlunit()
<static>  
webdriver.Capabilities.htmlunitwithjs()
<static>  
webdriver.Capabilities.ie()
<static>  
webdriver.Capabilities.ipad()
<static>  
webdriver.Capabilities.iphone()
 
merge(other)
Merges another set of capabilities into this instance.
<static>  
webdriver.Capabilities.opera()
<static>  
webdriver.Capabilities.phantomjs()
<static>  
webdriver.Capabilities.safari()
 
set(key, value)
 
Class Detail
webdriver.Capabilities(opt_other)
Parameters:
{(webdriver.Capabilities|Object)=} opt_other
Another set of capabilities to merge into this instance.
Method Detail
<static> {!webdriver.Capabilities} webdriver.Capabilities.android()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Android.

<static> {!webdriver.Capabilities} webdriver.Capabilities.chrome()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Chrome.

<static> {!webdriver.Capabilities} webdriver.Capabilities.firefox()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Firefox.

{*} get(key)
Parameters:
{string} key
The capability to return.
Returns:
{*} The capability with the given key, or {@code null} if it has not been set.

{boolean} has(key)
Parameters:
{string} key
The capability to check.
Returns:
{boolean} Whether the specified capability is set.

<static> {!webdriver.Capabilities} webdriver.Capabilities.htmlunit()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for HTMLUnit.

<static> {!webdriver.Capabilities} webdriver.Capabilities.htmlunitwithjs()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for HTMLUnit with enabled Javascript.

<static> {!webdriver.Capabilities} webdriver.Capabilities.ie()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Internet Explorer.

<static> {!webdriver.Capabilities} webdriver.Capabilities.ipad()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for iPad.

<static> {!webdriver.Capabilities} webdriver.Capabilities.iphone()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for iPhone.

{!webdriver.Capabilities} merge(other)
Merges another set of capabilities into this instance. Any duplicates in the provided set will override those already set on this instance.
Parameters:
{!(webdriver.Capabilities|Object)} other
The capabilities to merge into this instance.
Returns:
{!webdriver.Capabilities} A self reference.

<static> {!webdriver.Capabilities} webdriver.Capabilities.opera()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Opera.

<static> {!webdriver.Capabilities} webdriver.Capabilities.phantomjs()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for PhantomJS.

<static> {!webdriver.Capabilities} webdriver.Capabilities.safari()
Returns:
{!webdriver.Capabilities} A basic set of capabilities for Safari.

{!webdriver.Capabilities} set(key, value)
Parameters:
{string} key
The capability to set.
{*} value
The capability value. Capability values must be JSON serializable. Pass {@code null} to unset the capability.
Returns:
{!webdriver.Capabilities} A self reference.

{!Object} toJSON()
Returns:
{!Object} The JSON representation of this instance.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:01 GMT-0500 (EST)