Espresso Driver added to appium (#8640)

This commit is contained in:
Dan Graham
2017-06-09 11:03:00 -07:00
committed by GitHub
parent b721ebd6c0
commit 09622aea33
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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;
}
}