What is the website so we can tinker with it? And your code so we can just run it.
A couple of things to try in the meantime based on searching....
A StaleElementReferenceException is thrown when the element you were interacting is destroyed and then recreated.
A couple of things to try in the meantime based on searching....
A StaleElementReferenceException is thrown when the element you were interacting is destroyed and then recreated.
wait.until(ExpectedConditions.stalenessOf(whatever element));or
wait.until(ExpectedConditions.presenceOfElementLocated(By.id("whatever elemnt")))Other responses seem to be accessing the problematic element in a loop before throwing the exception
Recommended Tutorials: