appium-android-driver
Version:
Android UiAutomator and Chrome support for Appium
35 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.launchApp = launchApp;
exports.closeApp = closeApp;
exports.reset = reset;
const driver_1 = require("appium/driver");
const ISSUE_URL = 'https://github.com/appium/appium/issues/15807';
/**
* Launches the application.
*
* @returns Promise that resolves when the app is launched.
* @throws {errors.UnsupportedOperationError} This API is not supported anymore.
*/
async function launchApp() {
throw new driver_1.errors.UnsupportedOperationError(`This API is not supported anymore. See ${ISSUE_URL}`);
}
/**
* Closes the application.
*
* @returns Promise that resolves when the app is closed.
* @throws {errors.UnsupportedOperationError} This API is not supported anymore.
*/
async function closeApp() {
throw new driver_1.errors.UnsupportedOperationError(`This API is not supported anymore. See ${ISSUE_URL}`);
}
/**
* Resets the application state.
*
* @returns Promise that resolves when the app is reset.
* @throws {errors.UnsupportedOperationError} This API is not supported anymore.
*/
async function reset() {
throw new driver_1.errors.UnsupportedOperationError(`This API is not supported anymore. See ${ISSUE_URL}`);
}
//# sourceMappingURL=legacy.js.map