2021年4月29日星期四

Selenium-Python: wait for spinner to disappear?

Other solutions that I have seen are built for where a display: hidden or visibility: none is set on the spinner.

In my case, the spinner disappears from the DOM tree.

I am unable to understand the explicit wait conditions in this scenario.

Does expected_conditions have a case for NoSuchElementException?

Is try-catch in a loop my only choice?

https://stackoverflow.com/questions/67326937/selenium-python-wait-for-spinner-to-disappear April 30, 2021 at 09:07AM

没有评论:

发表评论