mozilla / node-firefox

node.js modules for interacting with Firefox via the DevTools remote protocol
https://www.npmjs.org/package/firefox
Mozilla Public License 2.0
301 stars 18 forks source link

launching works in 2.2 simulator but not 2.0 simulator #23

Open wfwalker opened 9 years ago

wfwalker commented 9 years ago

I've written a script that instantiates @louisstow 's splashpack and then launches it using node-firefox. This works for 2.2 simulator but not 2.0 simulator.

Script is at https://github.com/wfwalker/owascan/blob/master/owasimulate.js

wfwalker commented 9 years ago

NB: currently, that script expects splashpack to be checked out in the same parent folder as owascan

sole commented 9 years ago

I haven't found any error when launching 2.2 simulators. Perhaps you might want to make a smaller test case and attach any logging you can? When you start the simulator you can also pass in the verbose: true option to get the output from the simulator being piped to stdout:

startSimulator({ version: '2.2', verbose: true });