Alto Saxophone - Chromedriver installThis is a simple package that downloads Chromedriver 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('alto-saxophone').chromedriver; var p = driver.binPath(); // launch chromedriver from path
You can ovveride where you download the Chromedriver by setting process.env.CHROMEDRIVERBASEURL.