How to use the appium-webdriveragent.bundleWDASim function in appium-webdriveragent

To help you get started, we’ve selected a few appium-webdriveragent 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 / wda / webdriveragent.js View on Github external
async fetchWDABundle () {
    if (!this.derivedDataPath) {
      return await bundleWDASim();
    }
    const wdaBundlePath = await fs.walkDir(this.derivedDataPath, true, (item) => item.endsWith('WebDriverAgentRunner-Runner.app'));
    if (!wdaBundlePath) {
      throw new Error(`Couldn't find the WDA bundle in the ${this.derivedDataPath}`);
    }
    return wdaBundlePath;
  }

appium-webdriveragent

Package bundling WebDriverAgent

Apache-2.0
Latest version published 10 days ago

Package Health Score

86 / 100
Full package analysis