How to use the xctestwd.XCTestWD function in xctestwd

To help you get started, we’ve selected a few xctestwd 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 macacajs / macaca-ios / lib / macaca-ios.js View on Github external
deviceId: this.udid
    });

    yield this.startRealDevice();
  } else {
    this.device = new Simulator({
      deviceId: this.udid
    });

    yield this.startSimulator();
  }

  if (this.xctest) {
    this.xctest.stop();
  }
  yield this.device.uninstall(XCTestWD.XCTestWD.BUNDLE_ID);

  const desCaps = _.validateAndFilterDesiredCaps(_.merge({
    bundleId: this.bundleId
  }, this.args));

  if (deviceInfo.isRealIOS) {
    delete desCaps.app;
  }

  logger.debug(JSON.stringify(desCaps, null, '\t'));

  this.initXCTest();

  if (!this.isSafari) {
    this.proxy = this.xctest;
  }

xctestwd

Swift implementation of WebDriver server for iOS that runs on Simulator/iOS devices.

MIT
Latest version published 3 years ago

Package Health Score

55 / 100
Full package analysis

Popular xctestwd functions