API Docs for: 0.2.7
Show:

Session Class

Defined in: lib/session.js:8
Module: System
Parent Module: WebDriver

Session entry

Constructor

Session

(
  • values
)

Defined in lib/session.js:8

Parameters:

Methods

capabilities

() Object

Defined in lib/session.js:189

Get all the accepted capabilities. Direct-access. No need to wait.

Returns:

id

() String

Defined in lib/session.js:178

Get the session-id. Direct-access. No need to wait.

Returns:

Properties

CAPABILITY_ACCEPT_SSL_CERTS

String static

Defined in lib/session.js:146

Request for the browser to accept any ssl certificates

CAPABILITY_APPLICATION_CACHE_ENABLED

String static

Defined in lib/session.js:99

Request for the browser cache to be enabled

CAPABILITY_BROWSER_CONNECTION_ENABLED

String static

Defined in lib/session.js:108

Request for the ability to query the browsers connectivity

CAPABILITY_BROWSER_NAME

String static

Defined in lib/session.js:27

Request for a specific browser

CAPABILITY_CSS_SELECTORS_ENABLED

String static

Defined in lib/session.js:117

Request for native css selector support.

Note: This should always be used since this is the default for Taxi.

CAPABILITY_DATABASE_ENABLED

String static

Defined in lib/session.js:81

Request for the browser database to be enabled

CAPABILITY_HANDLES_ALERT

String static

Defined in lib/session.js:72

Request for alert handling support

CAPABILITY_JAVASCRIPT_ENABLED

String static

Defined in lib/session.js:54

Request for JavaScript to be enabled in the browser

CAPABILITY_LOCATION_CONTEXT_ENABLED

String static

Defined in lib/session.js:90

Request for the browser location API to be enabled

CAPABILITY_NATIVE_EVENTS

String static

Defined in lib/session.js:155

Request for native-events

CAPABILITY_PLATFORM

String static

Defined in lib/session.js:45

Request for a specific platform

CAPABILITY_PROXY

String static

Defined in lib/session.js:164

Request for a proxy

CAPABILITY_ROTATABLE

String static

Defined in lib/session.js:137

Request for a browser that can be rotated (orientation).

CAPABILITY_TAKES_SCREENSHOT

String static

Defined in lib/session.js:63

Request for screenshot support

CAPABILITY_VERSION

String static

Defined in lib/session.js:36

Request for a specific browser version

CAPABILITY_WEB_STORAGE_ENABLED

String static

Defined in lib/session.js:128

Request for the web-storage to be enabled