I have been using WebDriver with Firefox 3.6 and it works fine. I want to upgrade my Firefox and run my test cases. But for some reason I get the error below when I try to create an instance of FirefoxDriver
.
This is how I do it. I don't use hub.
driver= new FirefoxDriver();
I even tried using profile.
org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04'
System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0'
Driver info: driver.version: FirefoxDriver
Even though the changelog states otherwise, Selenium 2.20.0 is not yet fully compatible with FF11. You can either downgrade to FF10 (or 9, not sure now :) ), wait for Selenium 2.21.0 to come out, or try to build your own Selenium from trunk there.
After having tried all of the solution provided here without any success I simply uninstalled firefox completely (including all profiles) and reinstalled it as suggested here https://groups.google.com/forum/#!topic/webdriver/600j__wM0qY
This surely is not a satisfying solution but a working one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With