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

Method removeApp

lib/helper/Appium.js:646–654  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 3

Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls 1

_buildAppiumEndpointMethod · 0.95

Tested by

no test coverage detected