I have a dashboard with several charts. Until a chart is loaded it displays
Loading...
The page is fully loaded, when in all charts Loading...
isn't visible anymore.
Loading...
is one class embeded in all chart divs. Each chart has an id that changes with every reload.
<div id="loadmask-3379-msgTextEl" data-ref="msgTextEl" class="x-mask-msg-text" role="presentation">Loading...</div>
I can easily wait for one element with the line below but don't know how until all have disappeared:
WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.XPATH,"//div[contains(text(),'Loading')]")))
How can I implement in Selenium with Python and on Edge an explicit wait until Loading...
disappeared in all charts?