async uninstall () {
    try {
      const bundleIds = await this.device.getUserInstalledBundleIdsByBundleName(WDA_CF_BUNDLE_NAME);
      if (_.isEmpty(bundleIds)) {
        log.debug('No WDAs on the device.');
        return;
      }

      log.debug(`Uninstalling WDAs: '${bundleIds}'`);
      for (const bundleId of bundleIds) {
        await this.device.removeApp(bundleId);
      }
    } catch (e) {
      log.debug(e);
      log.warn(`WebDriverAgent uninstall failed. Perhaps, it is already uninstalled? ` +
        `Original error: ${e.message}`);
    }
  }
/**
   * Uninstall WDAs from the test device.
   * Over Xcode 11, multiple WDA can be in the device since Xcode 11 generates different WDA.
   * Appium does not expect multiple WDAs are running on a device.
   */
Uninstall WDAs from the test device.
Over Xcode 11, multiple WDA can be in the device since Xcode 11 generates different WDA.
Appium does not expect multiple WDAs are running on a device.
Uninstall WDAs from the test device . Over Xcode 11 multiple WDA can be in the device since Xcode 11 generates different WDA . Appium does not expect multiple WDAs are running on a device .
async uninstall () {
    try {
      const bundleIds = await this.device.getUserInstalledBundleIdsByBundleName(WDA_CF_BUNDLE_NAME);
      if (_.isEmpty(bundleIds)) {
        log.debug('No WDAs on the device.');
        return;
      }
      log.debug(`Uninstalling WDAs: '${bundleIds}'`);
      for (const bundleId of bundleIds) {
        await this.device.removeApp(bundleId);
      }
    } catch (e) {
      log.debug(e);
      log.warn(`WebDriverAgent uninstall failed. Perhaps, it is already uninstalled? ` +
        `Original error: ${e.message}`);
    }
  }
async uninstall ( ) { try { const bundleIds = await this . device . getUserInstalledBundleIdsByBundleName ( WDA_CF_BUNDLE_NAME ) ; if ( _ . isEmpty ( bundleIds ) ) { log . debug ( 'No WDAs on the device.' ) ; return ; } log . debug ( ` ${ bundleIds } ` ) ; for ( const bundleId of bundleIds ) { await this . device . removeApp ( bundleId ) ; } } catch ( e ) { log . debug ( e ) ; log . warn ( ` ` + ` ${ e . message } ` ) ; } }
Uninstall WDAs from the test device.
Uninstall WDAs from the test device .