Espresso Driver added to appium
MODIFY
lib/appium.js
lib/appium.js
@@ -12,6 +12,7 @@ import { XCUITestDriver } from 'appium-xcuitest-driver';
import { YouiEngineDriver } from 'appium-youiengine-driver';
import { WindowsDriver } from 'appium-windows-driver';
import { MacDriver } from 'appium-mac-driver';
+import { EspressoDriver } from 'appium-espresso-driver';
import B from 'bluebird';
import util from 'util';
@@ -58,6 +59,9 @@ class AppiumDriver extends BaseDriver {
} else if (caps.automationName.toLowerCase() === 'youiengine') {
// but if we do and it is 'YouiEngine', act on it
return YouiEngineDriver;
+ } else if (caps.automationName.toLowerCase() === 'espresso') {
+ log.warn('The Appium Espresso driver is currently in early beta and meant only for experimental usage. Its API is not yet complete or guaranteed to work. Please report bugs to the Appium team on GitHub.');
+ return EspressoDriver;
}
}

MODIFY
package.json
package.json
"dependencies": {
"appium-android-driver": "1.x",
"appium-base-driver": "2.x",
+ "appium-espresso-driver": "^1.0.0-beta",
"appium-fake-driver": "0.x",
"appium-ios-driver": "1.x",
"appium-mac-driver": "1.x",

Espresso Driver added to appium (#8640)