In these cases we need to shutdown the selenium server on this port.
Use below command to shut down the server.
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
If selenium server is already running on port 4444 then it will shut down the server and says
OKOK
if selenium is not running on this port 4444 then by hitting above url will give you
"Unable to connect"
Now you can run your test cases i am sure will run smoothing.
If it's still failing, run the following command on Unix as root:
- netstat -anp --tcp|grep 4444
- => tcp 0 0 10.11.226.86:4444 0.0.0.0:* LISTEN 3039/java
- kill -9 3039
No comments:
Post a Comment