New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browser-driver-installer

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-driver-installer

Installs Chrome and Gecko drivers that matches with the specified browser versions

  • 2.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52
increased by6.12%
Maintainers
5
Weekly downloads
 
Created
Source

Build Status

browser-driver-installer

Installs the Chrome and Gecko drivers that match with the specified browser versions.

Usage:

Post Install Script: If your environment has the BROWSER_DRIVER_INSTALLER_CHROME_VERSION, BROWSER_DRIVER_INSTALLER_CHROMEDRIVER_PATH, BROWSER_DRIVER_INSTALLER_FIREFOX_VERSION, BROWSER_DRIVER_INSTALLER_GECKODRIVER_PATH variables defined, a post-install script will download the ChromeDriver and GeckoDriver executables to the specified paths automatically.

If you want to, you can call the post-install script without the installation with npx:

npx --package browser-driver-installer installBrowserDrivers

As a module:

const browserDriverInstaller = require('browser-driver-installer').browserDriverInstaller;
browserDriverInstaller(BROWSER_NAME, BROWSER_VERSION, TARGET_PATH);

CLI Usage:

 Usage: index [options]

  Options:

    --browser-name <browserName>        Sets the name of the browser to install the driver for
    --browser-version <browserVersion>  Sets the browser version string, e.g., 65, 67.0.23
    --target-path <targetPath>          Sets the target path to install the driver executable
    -h, --help                          Prints out this help information

LICENSE

Apache 2.0

FAQs

Package last updated on 24 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc