-3

In my current working application have a data table its store the history of my work activities. During the run time of scripts through selenium web driver( Java), at that table it increase one row . Now for validation purpose I need to get that new row data. How can I get that anyone has any solution?

2
  • Provide relevant HTML for the same. Commented Jan 23, 2020 at 17:50
  • Without Html no one can help Commented Jan 23, 2020 at 18:48

1 Answer 1

1
WebDriverWait wait=new WebDriverWait(driver, 300);
wait.until(ExpectedConditions.numberOfElementsToBe(locator, number));

300 is time in milliseconds

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.