Firefox WebDriver doesn't work with Firefox 32
Solution 1:
The latest Firefox version that Selenium 2.41.0 officially supports is 28. Downgrade your browser. According to the other answers, downgrading to Firefox 31 is enough to make it work.
It is always a good idea to have the latest selenium package installed. The strategy, though, is always the same - make sure that you are using the version supported by your selenium package browser.
See also:
- Firefox version for selenium-firefox-driver 2.41.0
- Unable to obtain stable Firefox connection in 60 seconds (Windows 8 + FF 32.0)
Solution 2:
That is correct. 2.42.0, and 2.42.2 will not work with FF 32. The failures is as follows: org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms .
So the strategy is to roll back until 2.43 is released.
Solution 3:
They have just released 2.43.0 (2014-09-09)
- Make sure UnhandledAlertErrors includes the alert text if provided by the driver.
- Firefox
- Make sure the browser process is properly killed if silent startup hangs (#7392)
- native events support for Firefox 24, 31 and 32
- Loosen websocket dependency to ~> 1.0
- Add support for
switch_to.parent_frame
(thanks abotalov) - Fix download location for Selenium::Server.{latest,get} (#7049 - thanks marekj)
Ruby https://selenium.googlecode.com/git/rb/CHANGES
Java https://selenium.googlecode.com/git/java/CHANGELOG
Solution 4:
They have a ticket about this issue and they've fixed it for version 2.43
see here
I don't know when they'll release 2.43, so I guess downgrade your browser or switch to HtmlUnitDriver, ChromeDriver, or OperaDriver in the meantime?