There is a wait called "staleness_of" in selenium how to do the same in sbase #2147
Answered
by
mdmintz
elnatan2604
asked this question in
Q&A
-
WebDriverWait(driver, 20).until(EC.staleness_of( In the end what I want is to my code to wait until an element is no longer attached to the DOM/ or to wait until my browser will finish to refresh itself |
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Sep 27, 2023
Replies: 1 comment 1 reply
-
Use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
self.wait_for_element_absent(selector, by="css selector", timeout=20)
to wait for an element to be gone from the DOM.