Class Index | File Index

Classes


Class webdriver.Builder


Extends .

Defined in: builder.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
webdriver.Builder.SESSION_ID_ENV
Environment variable that defines the session ID of an existing WebDriver session to use when creating clients.
Method Summary
Method Attributes Method Name and Description
 
 
 
Configures the builder to create a client that will use an existing WebDriver session.
Class Detail
webdriver.Builder()
Field Detail
<static> webdriver.Builder.SESSION_ID_ENV
Environment variable that defines the session ID of an existing WebDriver session to use when creating clients. If set, all new Builder instances will default to creating clients that use this session. To create a new session, use {@code #useExistingSession(boolean)}. The use of this environment variable requires that webdriver.AbstractBuilder.SERVER_URL_ENV also be set.
See:
webdriver.process.getEnv
Method Detail
build()

{string} getSession()
Returns:
{string} The ID of the session, if any, this builder is configured to reuse.

{!webdriver.AbstractBuilder} usingSession(id)
Configures the builder to create a client that will use an existing WebDriver session.
Parameters:
{string} id
The existing session ID to use.
Returns:
{!webdriver.AbstractBuilder} This Builder instance for chain calling.

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