

Or, might this be some sort of networking or other problem?Ĭrash: gradle clean fatJar java -jar build/libs/selenium-all.jarġ2:48:57 PM .selenium.Main mainĮxception in thread "main" : .HttpHostConnectException: Connect to localhost:11551 failed: Connection refused (Connection refused)īuild info: version: 'unknown', revision: 'unknown', time: 'unknown' Otherwise I can't at all understand why the exception below is cannot connect to localhost.

I made a folder and then put a virtualenv inside for it and then i went to the scripts section and that it where I believe I extraced geckodriver to.I must not be setting the System properties correctly. I am not sure what is going on and would like some help. Then it states "unable to fetch some archives, maybe run apt-get update or try with -fix-missing?" The other message stayes failed ot fetch " and so forth. It states, "Failed to fetch " and so forth. I then type that command and it gives me three error messages. However, in my ubuntu terminal, when I try to check to make sure that it was downloaded properly by typing geckodriver -verion it states that geckodriver cannot be found but can be installed with sudo apt install firefox-geckodriver. I extracted it and put it into put my designated folder in my C drive inside the scripts section.

I have downloaded it from the github/com/mozilla/geckodriver section for win64. I have tried to downlaod geckodriver and I have been running into issues.
