Thursday, May 19, 2016

Upon Upgrading Selenium WebDriver, no browsers launching

Omg it was one of the painful things I have experienced so far with WebDriver. Google, SeleniumGroups, stackflow and so much of so many things and no help. 

After so many hours of troubleshooting, I have figured out the issue and now all my browsers are laucnhing. I still see the "local connecting only" in IE and Chrome, but I can live with it as the browsers are launching.

What did I do to fix ?
- I cleared all the Cache under C:\Users\AppData\Local\Temp
 
Chrome and IE

org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms
Build info: version: '2.8.0', revision: '14056', time: '2011-10-06 12:42:36'
System info: os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
Driver info: driver.version: FirefoxDriver
ChromeDriver -  In Eclipse IDE Console, I see the following error  
[2016-05-18 14:55:22,554]DEBUG     0[main] - org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.closeIdleConnections(ThreadSafeClientConnManager.java:324) - Closing connections idle longer than 100 MILLISECONDS
[2016-05-18 14:55:22,557]DEBUG     3[main] - org.apache.http.impl.conn.tsccm.ConnPoolByRoute.closeIdleConnections(ConnPoolByRoute.java:718) - Closing connections idle longer than 100 MILLISECONDS
"only local connections are allowed

Task Manager displayed, there were multiple instances of ChromeDriver.exe running. I killed all those and restarted, but same result. 

Firefox
When I try to run the test using Firefox, it looks like the browser might launch but after 30 sec or so, I see an error. The error kept indicating the some sort of locking error.

No comments:

Post a Comment