I have a page that contains multiple panels. While each panel is loading, it has a div with a class=progress. Once that panel is loaded, that same div gets the attribute of display:none;. I've tried await page.waitForFunction() and waitForSelector(), but they appear to evaluate to true when the first div becomes invisible. I want to wait until they are all invisible before I screenshot.