-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"A headless Firefox is already running" #59
Comments
What OS is that on? It's probably the fact that after closing Browsh it didn't manage to correctly quit the accompanying headless Firefox process. So you can probably do something like: But of course I need to fix the fact that Firefox didn't get closed after your first |
Xubuntu. Note that I'm also running selenium with headless Firefox in the background for my test suits. Will try the debug mode. |
Hm, hard to reproduce the issue... |
Ah! Ok, the test for a detecting an existing Firefox is actually very crude at the moment. It just detects any headless Firefox, so they'll definitely by a false positive with your selenium session. Ok, then I know how to fix that. Added a new issue for that #61. |
👍 |
Tip: Save the pid of the correct Firefox process. ;) |
Haha, doh! Yes of course :D |
Same issue here, however I see that the headless firefox started by browsh is still running It happened again a few times, after I received |
happens to me as well... |
+1, macOS 11 |
+1, Fedora 36 |
+1, Debian 11 |
+1, CentOS 7.9 |
@tombh Please re-open this issue. It happened to me when I got "read tcp 127.0.0.1:3334->127.0.0.1:60896: read: connection reset by peer". Now I cannot start browsh, because Firefox still runs. browsh should attempt to use the existing headless Firefox session if it's already running, please. Just for the record, sure I killed Firefox so things work again, the error was unlucky coincidence, still a bummer that browsh can't pickup a headless client after it lost it. |
#61 is a different problem? |
@tombh Sorry, really missed that, thanks for linking it again. |
+1 if I wait long enough, I can use browsh again without getting the error message "A headless Firefox is already running" |
+1 on termux |
@tombh |
If anybody's on Windows there's a fix in the main branch that should address this: #502 |
@tombh |
I think |
@tombh Oh wow, thanks for bringing |
I get
after starting browsh, quitting with ctrl-q and then starting it again.
The text was updated successfully, but these errors were encountered: