When using Selenium/Python, I need to wait/pause until: style="display:none;"
is displayed for a <div id="notification"..</div>
After clicking a button, the following is displayed (Loading...)
<div id="notification" class="notification_info" style="opacity: 1; display: inline-block;">Loading...</div>
Then after a dataset is loaded in the web page, the Loading... goes away (by changing display:none
), and the following is present:
<div id="notification" class="notification_info" style="display: none;">Loading...</div>
How would this be done (to check or wait on the value of style="display: none;"
)?
Because there are many <divs>
in the page with style=display
, I need to wait on both the id
of the div
, and the style display
.