* Reset the currently running app for current session. * * ```js * I.resetApp(); * ``` *
()
| 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. |
no test coverage detected