Do you have questions ? We got the answers!

Ask a question:

0
Getting WebDriverException on running simple selenium test on FF

Solved 2 Answers 60 Views
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
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 Dec 29, 2016 by stbadmin (4,970 points)
selected Jan 29 by ravikukreja
1Comments
commented Jan 29 by ravikukreja (90 points)
Thanks worked!
0

@ ravikukreja

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

answered Jan 10 by Deepak3991 (11 points)

Top Contributors

  • 4970 pointsstbadmin

    34 questions 454 answers218 comments

  • 430 pointsSunilBhaskar

    40 questions 14 answers26 comments

  • 425 pointsMehedi

    36 questions 3 answers14 comments

  • 354 pointsSoft Tester

    43 questions 0 answers4 comments

  • 342 pointssumitkumarwatts

    0 questions 12 answers0 comments

  • 327 pointsKeeshaGolden

    0 questions 17 answers2 comments

  • 322 pointsVipul Sharma

    44 questions 0 answers24 comments

  • 310 pointsvysh.sharma

    25 questions 0 answers0 comments

  • 267 pointsOnkar_Nimje

    33 questions 15 answers15 comments

  • 258 pointsVanitha

    26 questions 0 answers6 comments

...