I am trying to use selenium with C# and chrome but it fails to connect.
My code:
string site = "https://google.de";
IWebDriver driver = new ChromeDriver(@"C:\test\");
driver.Navigate().GoToUrl(site);
Both, Chrome and the Chrome driver window are opening after a few seconds after the site has loaded and everything looks fine however, chrome driver is reporting the following:
Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on port 61455 Only local connections are allowed.
DevTools listening on ws://127.0.0.1:61458/devtools/browser/98bab62c-09d8-4714-b51b-4118ed7100c3 [1535800947.687][WARNING]: Timed out connecting to Chrome, retrying...
Is it possible that the application is using two different ports and this could lead to the timeout issue?