soprano-saxophone

Install and launch Geckodriver for Mac, Linux or Windows.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
soprano-saxophone
0.23.06 years ago8 years agoMinified + gzip package size for soprano-saxophone in KB

Readme

Soprano Saxophone - Geckodriver install
This is a simple package that downloads Geckodriver and provides a node api for accessing the path to the binary. There are other packages like this, but I wanted to make sure I had an updated package to include in Browsertime.
Why the funny name you ask? Well, there are countless Selenium modules in npm. Keywords and the description for the module allows you to find it anyway, so might as well choose a unique name.
How to use?
var driver = require('soprano-saxophone').geckodriver;

var p = driver.binPath();
// launch geckodriver from path

You can ovveride the download location by setting process.env.GECKODRIVERBASEURL.