Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (19.7k points)

While running automation in webdriver standalone server, i get this exception randomly. Once it comes, I killed all java process . So what is the solution for this exception ? Why it comes randomly ?

Unfortunately as far as i know, all have suggested to use latest version of selenium jar or come compatible firefox version depending on the selenium version or they have said to check if that port is on use (though it won't!) or reboot system.Few have suggested to uninstall firefox version and reinstall it. Any permanent solution or any idea why it comes?

org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms 

Build info: version: '2.30.0', revision: 'dc1ef9c', time: '2013-02-19 00:15:27' 

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

Driver info: driver.version: FirefoxDriver 

Command duration or timeout: 47.94 seconds 

Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 15:53:30' 

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

Driver info: org.openqa.selenium.remote.RemoteWebDriver

1 Answer

0 votes
by (62.9k points)

You can resolve it with a simple machine reboot. I recommend you to this first before everything else.

 

OS Windows 7

selenium-server version : 2.35.0

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...