Skip to content

sitespeedio/edgedriver

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published