webdriver-installer

1.1.9 • Public • Published

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);
}

Package Sidebar

Install

npm i webdriver-installer

Weekly Downloads

2,743

Version

1.1.9

License

Apache-2.0

Unpacked Size

49.9 kB

Total Files

11

Last publish

Collaborators

  • joeyparrish