* Remove an app from the device. * * ```js * I.removeApp('appName', 'com.example.android.apis'); * ``` * * Appium: support only Android * * @param {string} appId * @param {string} [bundleId] ID of bundle
(appId, bundleId)
| 644 | * @param {string} [bundleId] ID of bundle |
| 645 | */ |
| 646 | async removeApp(appId, bundleId) { |
| 647 | onlyForApps.call(this, supportedPlatform.android) |
| 648 | |
| 649 | return this.axios({ |
| 650 | method: 'post', |
| 651 | url: `${this._buildAppiumEndpoint()}/appium/device/remove_app`, |
| 652 | data: { appId, bundleId }, |
| 653 | }) |
| 654 | } |
| 655 | |
| 656 | /** |
| 657 | * Reset the currently running app for current session. |
no test coverage detected