Use this method to retrieve the driver returned by the call to the open method.
Typically, you should make all calls to the webdriver using this driver, which wraps the webdriver. This allows Eyes to be aware of calls being made to the webdriver, and enables a number of features.
let value = eyes.getDriver(); value = eyes.driver;
Note that this feature is available as both a method and a property.
ParametersThis method does not take any parameters.
- Type: NightwatchAPI