API Docs for: 0.9.1
Show:

DriverAdapter Class

Extends Base

Methods

getCurrentUrl

() String

Gets the current url of the session window

Returns:

getDriver

() Browser

Get the driver

Returns:

Browser:

getElement

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

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

Gets the current page context

Returns:

Element:

initialize

()

Initializes the driver-adapter

navigateTo

()

Navigates to the supplied url

sleep

()

Number of milliseconds to wait before moving on

takeScreenshot

() Buffer

Takes a screenshot of the current session window

Returns:

Buffer:

Properties