API Docs for: 0.9.0
Show:

BrowserStackServer Class

Constructor

BrowserStackServer

()

Methods

_pluginLoader

(
  • manager
)
private

Method to load all plugins

Parameters:

  • manager PreceptorManager

_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/browserStack.js:69

Augmenting capabilities supplied to the driver

Parameters:

Returns:

getAccessKey

() String

Gets the access-key for browser-stack

Returns:

getConfiguration

() Object

Gets the server configuration

Returns:

getOptions

() Object

Gets the options

Returns:

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/browserStack.js:59

Gets the url to the web-driver instance

Returns:

getUser

() String

Gets the user for browser-stack

Returns:

initialize

()

Initializes the instance

setup

(
  • capabilities
)
Promise

Inherited from AbstractServer but overwritten in lib/server/browserStack.js:37

Startup driver

Parameters:

Returns:

Promise:

tearDown

() Promise

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

Shutdown driver

Returns:

Promise:

validate

()

Validates the data given