API Docs for: 0.9.0
Show:

SeleniumServer Class

Constructor

SeleniumServer

(
  • [options]
)

Parameters:

  • [options] Object optional
    • [javaPath] String optional
    • [port=9517] Int optional

Methods

_findJava

() String private

Finds an installed java instance

Returns:

_waitForServer

() Promise private

Wait for the server to be available

Returns:

Promise:

augment

()

Augments the data with default values

augmentCapabilities

(
  • capabilities
)
Object

Inherited from AbstractServer but overwritten in lib/server/selenium.js:144

Augmenting capabilities supplied to the driver

Parameters:

Returns:

getConfiguration

() Object

Gets the server configuration

Returns:

getJavaPath

() String

Gets the path to the java binary

Returns:

getOptions

() Object

Gets the options

Returns:

getPort

() Int

Gets the port of the server

Returns:

Int:

getTimeOut

() Int

Gets the timeout in milliseconds

Returns:

Int:

getType

() String

Gets the type of server

Returns:

getUrl

() String

Inherited from AbstractServer but overwritten in lib/server/selenium.js:134

Gets the url to the web-driver instance

Returns:

initialize

()

Inherited from AbstractServer but overwritten in lib/server/selenium.js:27

Initializes the instance

setup

(
  • capabilities
)
Promise

Inherited from AbstractServer but overwritten in lib/server/selenium.js:90

Startup driver

Parameters:

Returns:

Promise:

tearDown

() Promise

Inherited from AbstractServer but overwritten in lib/server/selenium.js:113

Shutdown driver

Returns:

Promise:

validate

()

Validates the data given