Mozilla firefox error | Selenium Forum
M
Posted on 06/09/2016
Hi,

I am getting the below mentioned error when I am trying to open mozilla firefox webdriver.

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

I am using the firefox version 49.0b8 and selenium v2.53. I tried downgrading firefoxto 2.47. but as firefox is upgrading to the latest version automatically it doesn't help.

Please suggest me what to do.

Thanks,
Aruna

M
Replied on 06/09/2016

reduce the firefox version.


M
Replied on 06/09/2016

i have tried downgrading the firefox version. but the firefox is auto upgrading it to the latest version.


M
Replied on 07/09/2016

I was having exactly same issue, but when I downgrade my firefox it is working fine now. This exception is there because your selenium version is not compatible with your firefox version.

I followed below steps:

(1) Took the backup of my firefox, so that I can have all my add ons and passwords as it is. See below video if you need help to take back up.
https://www.youtube.com/watch?v=3a1ycN7I3HE

(2) Uninstalled the firefox from my system using control panel.

(3)Installed old version of firefox (ver 47.0.1), use below link to find old version
https://ftp.mozilla.org/pub/firefox/releases/
I am using selenium-2.53.1 jars with this version of firefox

(4)Restored the backup of firefox to get my all add ons and password to new installed firefox (older version).

and now everything is working fine Responsive image


M
Replied on 07/09/2016

And do below setting to prevent auto upgrade of firefox

Click menu option at top right corner of firefox (three small lines icon)
Select Options> Acvanced>select update tab and
select radio button "Never check for updates (not recommended: security risk)"