DriverAdapter Class
Methods
getDriver
()
Browser
Get the driver
Returns:
Browser:
getElement
(
Element
-
context
-
selector
-
[selectorType='css
Gets the first element that applies to the supplied selector with the selector-type
Returns:
Element:
getElements
(
Element
-
context
-
selector
-
[selectorType='css
Gets all elements that apply to the supplied selector with the selector-type
Returns:
Element:
getPageContext
()
Element
Gets the current page context
Returns:
Element:
initialize
()
Initializes the driver-adapter
sleep
()
Number of milliseconds to wait before moving on
takeScreenshot
()
Buffer
Takes a screenshot of the current session window
Returns:
Buffer: