public void TypeByTest() { var elementActions = new ElementActions(Driver); Driver.Url = "http://the-internet.herokuapp.com/"; elementActions.Click(Driver.FindElement(By.XPath("//a[text()='Forgot Password']"))); new WebDriverWait(Driver, TimeSpan.FromSeconds(30)).Until(ExpectedConditions.ElementIsVisible(By.XPath("//input[@id='email']"))); elementActions.Type(By.XPath("//input[@id='email']"), "james"); Assert.AreEqual("james", Driver.FindElement(By.Id("email")).GetAttribute("value"), "The textbox values didn't match."); }