Files
enviPy-bayer/static/js/ketcher2/node_modules/webdriverio/lib/protocol/reset.js
2025-06-23 20:13:54 +02:00

22 lines
479 B
JavaScript

/**
*
* 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/appium-bindings.md#reset
* @type mobile
* @for android
*
*/
export default function reset () {
return this.requestHandler.create({
path: '/session/:sessionId/appium/app/reset',
method: 'POST'
})
}