API Docs for: 0.9.1
Show:

CabbieAdapter Class

Methods

getCurrentUrl

() String

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:36

Gets the current url of the session window

Returns:

getDriver

() Browser

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:25

Get the driver

Returns:

Browser:

getElement

(
  • context
  • selector
  • [selectorType='css
)
Element

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:87

Gets the first element that applies to the supplied selector with the selector-type

Parameters:

Returns:

Element:

getElements

(
  • context
  • selector
  • [selectorType='css
)
Element

Gets all elements that apply to the supplied selector with the selector-type

Parameters:

Returns:

Element:

getPageContext

() Element

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:46

Gets the current page context

Returns:

Element:

initialize

()

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:15

Initializes the driver-adapter

navigateTo

(
  • url
)

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:56

Navigates to the supplied url

Parameters:

sleep

(
  • waitInMs
)

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:66

Number of milliseconds to wait before moving on

Parameters:

  • waitInMs Int

takeScreenshot

() Buffer

Inherited from DriverAdapter but overwritten in lib/driverAdapter/cabbieAdapter.js:76

Takes a screenshot of the current session window

Returns:

Buffer:

Properties