API Docs for: 0.9.0
Show:

GhostDriverServer Class

Constructor

GhostDriverServer

(
  • [options]
)

Parameters:

  • [options] Object optional
    • [port=9516] Int optional

Methods

_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/ghostDriver.js:95

Augmenting capabilities supplied to the driver

Parameters:

Returns:

getConfiguration

() Object

Gets the server configuration

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/ghostDriver.js:85

Gets the url to the web-driver instance

Returns:

initialize

()

Inherited from AbstractServer but overwritten in lib/server/ghostDriver.js:22

Initializes the instance

setup

(
  • capabilities
)
Promise

Inherited from AbstractServer but overwritten in lib/server/ghostDriver.js:48

Startup driver

Parameters:

Returns:

Promise:

tearDown

() Promise

Inherited from AbstractServer but overwritten in lib/server/ghostDriver.js:68

Shutdown driver

Returns:

Promise:

validate

()

Validates the data given