new Webdriver_Helper()
Loads in all the extra webdriver commands that can be used in tests.
Mainly utility helpers such as element finders and touch actions, but
also includes screenshot comparison methods.
- Source:
Methods
(static) loadDriverCommands(driver, webdriver)
Generate commands that can be used by the driver. Used for creating
shortcuts we can use in testing to avoid massive code repetition.
Parameters:
| Name | Type | Description |
|---|---|---|
driver |
Object | The driver object to execute commands |
webdriver |
Object | The webdriver to add the commands to |
- Source: