@sitespeed.io/edgedriver

123.0.2420-53 • Public • Published

Edgedriver

This is a simple package that downloads Edgedriver 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/edgedriver');

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

You can override where you download the Edgedriver by setting process.env.EDGEDRIVER_BASE_URL. You can skip downloading Edgedriver by setting process.env.EDGEDRIVER_SKIP_DOWNLOAD.

You can download another Edgedriver version by setting process.env.EDGEDRIVER_VERSION.

EDGEDRIVER_VERSION=81.0.4044.20 node install.js

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

Package Sidebar

Install

npm i @sitespeed.io/edgedriver

Weekly Downloads

4,873

Version

123.0.2420-53

License

MIT

Unpacked Size

7.19 kB

Total Files

5

Last publish

Collaborators

  • tobli
  • soulgalore
  • beenanner