I am scraping some data from a webpage and need to wait until all the data is loaded on the page. I want Selenium to wait until all the data is loaded before it moves on. I have seen other posts that say to use something along the lines of
webDriverWait.until(ExpectedConditions.visibilityOfElementLocated( elementLocator)
This method inherently won't work for me because I need to wait until 100's of elements are loaded and it wouldn't be feasible to list out the location of every element. Is there a way to get Selenium to wait until everything on a page is loaded?