james-browser-launcher
james-browser-launcher copied to clipboard
`launch.js` with IE stops twice, and the first stop fails
See the output when I run launch.js with BROWSER=ie:
$ set BROWSER=ie
$ node example/launch.js
Instance started with PID: 3684
Instance stopped with exit code: 1
Instance stopped with exit code: 0
@tomitm, maybe you'd be interested?
There is a still an issue with re-spawning the ie browser after my code stops the browser. I think it might be a windows thing not allowing for terminating the process. You might want to explore that further.
See vsashidh's comment here
IE has a multi-process model, like Chrome, so there's multiple processes that are launched, regardless of if it's launched by browser-launcher or yourself via run.
Either way, I imagine it shouldn't be exiting with error 1. I'll poke around a bit and see what I can find.