You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Any
Selenium Version: 2.53.2
Browser: PhantomJS 2.1.1
Expected Behavior -
Prior to checking connectivity to the PhantomJS process Selenium should check that the process is still running.
Actual Behavior -
Selenium does not check that the PhantomJS process is running prior to checking connectivity. This results in unhelpful error message when the subprocess unexpectedly exits. (In my case it exited due to missing shared libs on the testing server but the error message led me to believe that the issue was inability to open a port).
Steps to reproduce -
Replace the PhantomJS executable with a script that exits immediately. Selenium will make 30 tries to connect to it and finally exit with error: "Can not connect to the Service xxx", with xxx being the actual executable path.
The text was updated successfully, but these errors were encountered:
Selenium does not check that the PhantomJS process is running prior to
checking connectivity. This results in unhelpful error message when the
subprocess unexpectedly exits.
The solution is to assert that the process is still running before
connectivity is checked.
FixesSeleniumHQ#2168.
Selenium does not check that the PhantomJS process is running prior to
checking connectivity. This results in unhelpful error message when the
subprocess unexpectedly exits.
The solution is to assert that the process is still running before
connectivity is checked.
Fixes#2168.
Selenium does not check that the PhantomJS process is running prior to
checking connectivity. This results in unhelpful error message when the
subprocess unexpectedly exits.
The solution is to assert that the process is still running before
connectivity is checked.
Fixes#2168.
lockbot
locked and limited conversation to collaborators
Aug 20, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Meta -
OS: Any
Selenium Version: 2.53.2
Browser: PhantomJS 2.1.1
Expected Behavior -
Prior to checking connectivity to the PhantomJS process Selenium should check that the process is still running.
Actual Behavior -
Selenium does not check that the PhantomJS process is running prior to checking connectivity. This results in unhelpful error message when the subprocess unexpectedly exits. (In my case it exited due to missing shared libs on the testing server but the error message led me to believe that the issue was inability to open a port).
Steps to reproduce -
Replace the PhantomJS executable with a script that exits immediately. Selenium will make 30 tries to connect to it and finally exit with error: "Can not connect to the Service xxx", with xxx being the actual executable path.
The text was updated successfully, but these errors were encountered: