I have an issue using Chrome WebDriver on a Node Webkit Application, when I click an element (it will open two windows at the same time) driver shows a timeout exception on Click function. I tried using ImplictlyWait, SetPageLoadTimeout, but same issue, it timeouts after 60 seconds. Anyone knows how to manage this? Hopefully some of the experts here can help me.
WebDriverWait wait = new WebDriverWait(driver, System.TimeSpan.FromSeconds(30));
var button = driver.FindElement(By.Id("okButton"));
driver.Manage().Timeouts().ImplicitlyWait(System.TimeSpan.FromSeconds(30));
driver.Manage().Timeouts().SetPageLoadTimeout(System.TimeSpan.FromSeconds(30));
driver.Manage().Timeouts().SetScriptTimeout(System.TimeSpan.FromSeconds(30));
button.Click();
After click is when TimeOut occurs in driver and I cannot read Current Window nor WindowHandles in driver.
Stacktrace: at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
Message: The HTTP request to the remote WebDriver server for URL http://localhost:56188/session/ef3f1d1e01cefdb22aa178da23dfcd88/element timed out after 60 seconds.