How to use appium-idb - 1 common examples

To help you get started, we’ve selected a few appium-idb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appium / appium-xcuitest-driver / lib / driver.js View on Github external
if (this.opts.customSSLCert) {
        if (await hasSSLCert(this.opts.customSSLCert, this.opts.udid)) {
`SSL cert '${_.truncate(this.opts.customSSLCert, {length: 20})}' already installed`);
        } else {
`Installing ssl cert '${_.truncate(this.opts.customSSLCert, {length: 20})}'`);
          await shutdownSimulator(this.opts.device);
          await installSSLCert(this.opts.customSSLCert, this.opts.udid);
`Restarting Simulator so that SSL certificate installation takes effect`);
          await this.startSim();
      if (this.opts.launchWithIDB && this.isSimulator()) {
        try {
          const idb = new IDB({udid});
          await idb.connect();
          this.opts.device.idb = idb;
        } catch (e) {
`idb will not be used for Simulator interaction. Original error: ${e.message}`);

      if (!isLogCaptureStarted) {
        // Retry log capture if Simulator was not running before
        await startLogCapture();

    if ( {
      await this.installAUT();


iOS Debug Bridge interface. NodeJS wrapper of

Latest version published 5 days ago

Package Health Score

75 / 100
Full package analysis

Popular appium-idb functions