webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
28 lines (26 loc) • 613 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = reset;
/**
*
* Reset the device by clearing the device un- and reinstalling app package (if existing).
*
* <example>
:resetApp.js
browser.reset()
* </example>
*
* @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/other/appium-bindings.md#reset
* @type mobile
* @for android
*
*/
function reset() {
return this.requestHandler.create({
path: '/session/:sessionId/appium/app/reset',
method: 'POST'
});
}
module.exports = exports['default'];
;