diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 670ba476b..bb80f4006 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -723,7 +723,7 @@ class TestCase < ActiveSupport::TestCase end true - rescue Selenium::WebDriver::Error::StaleElementReferenceError + rescue sleep retries retries += 1 retry if retries < 3