Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
250 views
by Contributing Tester (92 points)
Getting WebDriverException on running simple selenium test on FF

 

Exception in thread "main" org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms

Build info: version: '2.6.0', revision: '13840', time: '2011-09-13 14:55:30'

System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_45'

Driver info: driver.version: FirefoxDriver

at org.openqa.selenium.internal.SocketLock.lock(SocketLock.java:95)

at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:70)

at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:149)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:72)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:128)

at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:79)

at LaunchBrowser.main(LaunchBrowser.java:10)

 

 

Any help would be appreciated.

 

Using selenium 2,53 with FF 48

2 Answers

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
with FF 48, you should upgrade to use Selenium 3.0.1. Also, you will have to download gekodriver.exe file to use with latest selenium.

 

Hope that helps!
by Contributing Tester (92 points)
Thanks worked!
0 like 0 dislike
by New User (11 points)

@ ravikukreja

You are facing this issue because FF 48 is not  compatible with Selenium 2.53.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...