selenium - WebDriver: ChromeDriver attempting to reach http://localhost/session on initialization and failing -


the full error message is:

 test(s) failed. openqa.selenium.webdriverexception : http request remote webdriver server url http://localhost:59662/session timed out after 60 seconds.   ----> system.net.webexception : operation has timed out 

the line in code happening instances new chromedriver instance:

currentdriver = new chromedriver(section["chromedriverfolder"]); 

so question is... why new chromedriver invokes /session url, , causing fail?

i experienced same error using selenium.webdriver.chromedriver v2.22 , chrome v52.0.2743.116 m running on teamcity 9.x. able fix problem rolling version of chrome running on teamcity agents v51.

when examining agent executing test, there popup error: "chrome automation extension has crashed. click balloon reload extension."

it seems bug latest version of chrome , selenium.webdriver.chromedriver, of yet lead i've found

edit: link chromedriver issue

edit2: link resolution


Comments