1

I'm trying to get Selenium tests running with Firefox. I'm using C#.

new OpenQA.Selenium.Firefox.FirefoxDriver();

I also tried it with a profile set:

FirefoxProfile profile = new FirefoxProfile(@"E:\...\FirefoxProfile"); 
new OpenQA.Selenium.Firefox.FirefoxDriver();

Error I'm getting:

Unable to bind to locking port 7054 within 45000 ms

I even tried uninstalling Firefox including profiles and re-installing again. Didn't help.


FYI: I have a question concerning 3 selenium webdrivers. I'm trying to split the question into multiple so the discussion is easier. Original: Selenium WebDriver - No driver is working for me

Community
  • 1
  • 1
Vilém Procházka
  • 1,060
  • 2
  • 17
  • 28

1 Answers1

1

Some tips on debugging this:

I found the quickest way to test if the problem exists, is by browsing to

http://localhost:4444/wd/hub/static/resource/hub.html

and then trying to create a firefox session there.

I had the issue with FF 18.0 and Selenium server 2.28.0 (the latest releases at the time of writing). I made sure Windows Firewall wasn't blocking the Selenium server and then rebooted the machine - which did the trick. So I assume Ross Larson is right.

Jannie Theunissen
  • 28,256
  • 21
  • 100
  • 127