In webdriver, how to ask to webdriver to wait until text is present in text field.
actually i have one kendo text field whose values comes from database which takes
Using WebDriverWait (org.openqa.selenium.support.ui.WebDriverWait) and ExpectedCondition (org.openqa.selenium.support.ui.ExpectedConditions) objects
WebDriverWait (org.openqa.selenium.support.ui.WebDriverWait)
ExpectedCondition (org.openqa.selenium.support.ui.ExpectedConditions)
WebDriverWait wait = new WebDriverWait(driver, 30); wait.until(ExpectedConditions.textToBePresentInElementLocated(By.id("element_id"), "The Text"));