soprano-saxophone-temp

Install and launch Geckodriver for Mac, Linux or Windows.

Usage no npm install needed!

<script type="module">
  import sopranoSaxophoneTemp from 'https://cdn.skypack.dev/soprano-saxophone-temp';
</script>

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