Socket
Socket
Sign inDemoInstall

@sitespeed.io/chromedriver

Package Overview
Dependencies
2
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitespeed.io/chromedriver


Version published
Maintainers
3
Created

Readme

Source

Chromedriver

This is a simple package that downloads Chromedriver and provides a node api for accessing the path to the binary. We want to keep this with minimimal dependencies.

How to use?

const driver = require('@sitespeed.io/chromedriver');

const binPath = driver.binPath();
// launch chromedriver from binPath

You can override where you download the Chromedriver by setting process.env.CHROMEDRIVER_BASE_URL. You can skip downloading the Chromedriver by setting process.env.CHROMEDRIVER_SKIP_DOWNLOAD.

You can download another Chromedriver version by setting process.env.CHROMEDRIVER_VERSION.

CHROMEDRIVER_VERSION=81.0.4044.20 node install.js

If you don't set a version, the version in the package.json is used.

Keywords

FAQs

Last updated on 12 Jun 2024

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc