mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Likely helps: #2271. When web server restarts we are shown an error page. Trying to lookup and element in this error page still raises StaleElementReferenceException. However, if the page was reloaded with driver.visit(), then trying to lookup the old element does not throw StaleElementReferenceException. Instead the NoSuchElementException is thrown. For this case, ensure that we stop waiting appropriately. This is likely to solve the large waits and timeouts when testing dynamicdns. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>