@sitespeed.io/edgedriver
v126.0.2592-102
Published
Install and launch Edgedriver for Mac, Windows and Linux
Downloads
15,586
Readme
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.