Wait Till Text Present In Text Field

0
0

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 some time to load. Once it load i can proceed further.

please help on this

  • You must to post comments
0
0

You can use WebDriverWait. From docs example:

 (new WebDriverWait(driver, 10)).until(new ExpectedCondition<Boolean>() {
public Boolean apply(WebDriver d) {
return d.findElement(...).getText().length() != 0;
}
});
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website