Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

Getting WebDriverException on running simple selenium test on FF

Solved 2 Answers 74 Views
0 2
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: '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(

at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(

at org.openqa.selenium.firefox.FirefoxDriver.startClient(

at org.openqa.selenium.remote.RemoteWebDriver.<init>(

at org.openqa.selenium.firefox.FirefoxDriver.<init>(

at org.openqa.selenium.firefox.FirefoxDriver.<init>(

at LaunchBrowser.main(



Any help would be appreciated.


Using selenium 2,53 with FF 48

2 Answers

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!
answered by (151 points)
selected by
commented by (92 points)
Thanks worked!

@ ravikukreja

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

answered by (11 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.