I'm trying to input text into a username field. It appears to find an element, however SendKeys() errors stating that the element is not interactable. I'm already waiting until the element exists, so I wouldn't think its related to waiting. Here is my code:
Console.WriteLine("Hello, World!"); ChromeDriver cd = new ChromeDriver(@"C:\Users\xxx\Downloads\chromedriver_win32\"); cd.Url = @"https://connect.ramtrucks.com/us/en/login"; cd.Navigate(); WebDriverWait wait = new WebDriverWait(cd,TimeSpan.FromSeconds(10)); IWebElement e = wait.Until(ExpectedConditions.ElementExists(By.ClassName("analytics-login-username"))); e.SendKeys("[email protected]");
Any suggestions would be much appreciated :)