firefox-nightly-prebuilt
Use prebuilt FirefoxNightly binaries.
This caches Nightlys on disk, for at most day.
Work in progress: This currently only works on macOS. Pull requests welcome!
Usage
First install the module, which downloads FirefoxNightly unless you have the current nightly cached already:
$ npm install --save firefox-nightly-prebuilt
Then get the path to the executable in Node:
const firefox = require('firefox-nightly-prebuilt')
console.log(firefox)
// for example:
spawn(firefox, ['-headless'])
License
MIT