How to use chromedriver-version-matcher - 1 common examples

To help you get started, we’ve selected a few chromedriver-version-matcher 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 blackbaud / skyux-builder / cli / e2e.js View on Github external
return new Promise(resolve => {
    const defaultVersion = 'latest';

    matcher.getChromeDriverVersion()
      .then(result => {
        if (result.chromeDriverVersion) {
          resolve(result.chromeDriverVersion);
        } else {
          resolve(defaultVersion);
        }
      })
      .catch(() => resolve(defaultVersion));
  });
}

chromedriver-version-matcher

Finds the version of ChromeDriver that is compatible with the locally-installed version of Chrome.

MIT
Latest version published 3 years ago

Package Health Score

36 / 100
Full package analysis

Popular chromedriver-version-matcher functions

Similar packages