-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
signal termination to geckodriver leaves a firefox behind if no Delete Session
command was given
#291
Comments
kill -15
geckodriver leaves a firefox behindDelete Session
command was given
Sending a term signal to geckodriver does not terminate the spawned firefox instance, if Delete Session has not been issued before: I use the script (1) Launch geckodriver, and send no delete session command. The firefox process is leftover in the end:
Launch geckodriver, and send one delete session command. The firefox process is cleared in the end:
(1) Test scriptSorry for not doing this in rust (don't know yet enough rust to do this)
|
perl firefox_launch_manually.pl 0 |
There is basically https://bugzilla.mozilla.org/show_bug.cgi?id=1430064, which handles this particular issue. |
(EDIT): you can skip this comment and go to #291 (comment) that has a more accurate and compact way of reproducing the problem.
Summary
When I kill -15 a geckodriver launched in the shell, there is a firefox process left in the end. I am not sure if this expected or if I am doing something wrong :/
Details
I use 3 terminals.
A$
,B$
,C$
Initially no firefox or geckodriver runningStart geckodriver
Create a new session (and as a consequence a firefox will be created)
Firefox and geckodriver are up and running
Let's gracefully kill geckodriver.
In the end I still see a firefox running
My env
I tried the above with geckodriver 0.10.0 and 0.11.1. The difference was in the output of geckodriver (0.11.1 was more verbose, maybe different log level?) and in the final firefox command:
0.10:
0.11.1:
The text was updated successfully, but these errors were encountered: