Loop Error
#2867
-
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Jun 24, 2024
Replies: 1 comment
-
If you find an element, leave the website, and then come back to the website, then that element is "Stale", and you'll get a "StaleElementReferenceException" if you try to use it. Elements that you find can only be used if you don't leave the website that you found them on. Build your scripts accordingly to avoid running into that scenario. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you find an element, leave the website, and then come back to the website, then that element is "Stale", and you'll get a "StaleElementReferenceException" if you try to use it. Elements that you find can only be used if you don't leave the website that you found them on. Build your scripts accordingly to avoid running into that scenario.