-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?

alien
  • 11

1 Answers1

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

300 is time in milliseconds

Adnan Asghar
  • 64
  • 1
  • 7