Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium 2.53 or 2.48 not working in Firefox 48.0

I am getting an error in Firefox 48.0 in new the update from firefox 47

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: 066 addons.xpi DEBUG Updating database with changes to installed add-ons

My system and browser configuration are:

Firefox 48

Selenium 2.48 also try 2.53

Window 8 64bit

I also tried the marionette driver but did not receive proper output with that.

Any ideas on how to fix this besides downgrading firefox?

like image 764
Tehsil Avatar asked Dec 19 '22 14:12

Tehsil


1 Answers

Older versions of Selenium (like 2.5.x) do not work and won't work with Firefox 48+. The reason is that Firefox 48 changed a lot of stuff, including the fact that extensions must be signed by Mozilla to work with Firefox. To fix the Selenium issue, Mozilla took ownership of FirefoxDriver() and they a released a Marionette version for this, including a Gecko driver.

This is what you need to use to be able to execute your tests on Firefox 48+.

like image 112
Cosmin Avatar answered Dec 22 '22 01:12

Cosmin