mirror of
https://github.com/appium/appium.git
synced 2026-05-03 08:51:18 -05:00
Espresso Driver added to appium (#8640)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user