Class Index | File Index

Classes


Class webdriver.Session


Defined in: session.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
webdriver.Session(id, capabilities)
Contains information about a WebDriver session.
Method Summary
Method Attributes Method Name and Description
 
 
Retrieves the value of a specific capability.
 
 
Returns the JSON representation of this object, which is just the string session ID.
Class Detail
webdriver.Session(id, capabilities)
Contains information about a WebDriver session.
Parameters:
{string} id
The session ID.
{!(Object|webdriver.Capabilities)} capabilities
The session capabilities.
Method Detail
{!webdriver.Capabilities} getCapabilities()
Returns:
{!webdriver.Capabilities} This session's capabilities.

{*} getCapability(key)
Retrieves the value of a specific capability.
Parameters:
{string} key
The capability to retrieve.
Returns:
{*} The capability value.

{string} getId()
Returns:
{string} This session's ID.

{string} toJSON()
Returns the JSON representation of this object, which is just the string session ID.
Returns:
{string} The JSON representation of this Session.

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