https://github.com/sitespeedio/geckodriver
Install and launch Geckodriver for Mac, Linux or Windows.
https://github.com/sitespeedio/geckodriver
Last synced: 12 months ago
JSON representation
Install and launch Geckodriver for Mac, Linux or Windows.
- Host: GitHub
- URL: https://github.com/sitespeedio/geckodriver
- Owner: sitespeedio
- License: mit
- Created: 2017-09-09T12:27:44.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T21:40:27.000Z (about 1 year ago)
- Last Synced: 2025-05-07T01:28:30.385Z (12 months ago)
- Language: JavaScript
- Size: 277 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geckodriver
This is a simple package that downloads [Geckodriver](https://github.com/mozilla/geckodriver) and
provides a node api for accessing the path to the binary. With this package we try to minimize dependencies.
How to use?
```node
const driver = require('@sitespeed.io/geckodriver');
const binPath = driver.binPath();
// launch geckodriver from binPath
```
You can override where you download the Geckodriver by setting *process.env.GECKODRIVER_BASE_URL*. You can skip donwloading Geckodriver by setting *process.env.GECKODRIVER_SKIP_DOWNLOAD*.
You can download another Geckodriver version by setting *process.env.GECKODRIVER_VERSION*.
```
GECKODRIVER_VERSION=0.26.0 node install.js
```
If you don't set a version, [the version](https://github.com/sitespeedio/geckodriver/blob/master/package.json#L4) in the *package.json* is used.