I'm using Selenium Webdriver with C#. I Got a login webpage with three textboxes and one button. When I'm trying to type in my domain, username and password and press the submit button the page loads but im getting an exception. Please anyone tell me why, I don't get it.
My code looks like this:
driver.FindElement(By.Id("LoginFrame_TextBoxDomain")).Clear();
driver.FindElement(By.Id("LoginFrame_TextBoxUsername")).Clear();
driver.FindElement(By.Id("LoginFrame_TextBoxPassword")).Clear();
driver.FindElement(By.Id("LoginFrame_TextBoxDomain")).SendKeys(".");
driver.FindElement(By.Id("LoginFrame_TextBoxUsername")).SendKeys("bla");
driver.FindElement(By.Id("LoginFrame_TextBoxPassword")).SendKeys("bla");
driver.FindElement(By.Id("LoginFrame_LoginButton")).Click();
edit: WebDriverException: The HTTP request to the remote WebDriver server of URL
http://localhost...
timed out after 60 seconds.
LoginFrame_LoginButtondoes exist? - AlexanderNoSuchElementExceptionwould have been raised. According to OP description, however, this is not the case here. - barak manos