Open tombh opened 6 years ago
Uh, as @olleharstedt pointed out, save the PID!
Sometimes the instance is lost, but still running. I also think a use-existing = auto
could help here. Start a new instance, but if it's running, try to attach to it instead. Right now you have to do either-or.
This was first brought up by a user that had an existing Selenium session: #59
If Browsh's Firefox process can have an identifying mark to it, then we can detect that instead of a crude detection of any headless Firefox process.