Comment 0 for bug 1570803

Revision history for this message
Sergei Chipiga (schipiga) wrote :

I found that method _execute inside horizon/tests/webdriver.py has complicated and wrong logic, that in race condition leads to long tests, for example we have tests with 10 min duration.

The core problem is in usage while True to wait element, but implicit_wait delegates its to browser already.
Just we need to catch StaleElement exception, reload chain of element parents and then to execute command again.