JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5420
  • Score
    100M100P100Q124774F
  • License Apache-2.0

Install the right WebDriver version for your local browsers, automatically.

Package Exports

  • webdriver-installer
  • webdriver-installer/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webdriver-installer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

WebDriver Installer for NodeJS

Install the right WebDriver version for your local browsers, automatically.

This tool will check the versions of your local browsers, determine the correct version of each corresponding WebDriver binary, and download and install the driver binaries automatically.

It can be run as a command-line tool, or as a Node module.

Installation

To install the tool globally for CLI usage:

npm install -g webdriver-installer

CLI Usage

Here's an example of CLI usage:

webdriver-installer /path/to/webdriver-binaries/

Module Usage

const {installWebDrivers} = require('webdriver-installer');

async function foo() {
  const withLogging = true;
  await installWebDrivers('/path/to/webdriver-binaries/', withLogging);
}