MCPcopy
hub / github.com/codeceptjs/CodeceptJS / resetApp

Method resetApp

lib/helper/Appium.js:664–671  ·  view source on GitHub ↗

* Reset the currently running app for current session. * * ```js * I.resetApp(); * ``` *

()

Source from the content-addressed store, hash-verified

662 *
663 */
664 async resetApp() {
665 onlyForApps.call(this)
666 this.isWeb = false // Reset to native context after app reset
667 return this.axios({
668 method: 'post',
669 url: `${this._buildAppiumEndpoint()}/appium/app/reset`,
670 })
671 }
672
673 /**
674 * Check current activity on an Android device.

Callers 2

Appium_ios_test.jsFile · 0.80
Appium_test.jsFile · 0.80

Calls 1

_buildAppiumEndpointMethod · 0.95

Tested by

no test coverage detected