Connects to a Firefox debuggable runtime.
This is part of the node-firefox project.
git clone https://github.com/mozilla/node-firefox-connect.gitcd node-firefox-connectnpm install
If you want to update later on:
cd node-firefox-connectgit pull origin masternpm install
npm install node-firefox-connect
Connects to a Firefox runtime, given a port number, and returns a client that can be used to interact with said client.
// `connect` returns a Promise;
var connect = ;;
This is based on initial work on fxos-connect by Nicola Greco.