Prevent timing errors due to invisible elements, in Selenium

This commit is contained in:
Jonas Nicklas 2012-11-13 14:25:45 +01:00
parent 6446eac5a3
commit 4f74ff5e6c
1 changed files with 1 additions and 1 deletions

View File

@ -113,6 +113,6 @@ class Capybara::Selenium::Driver < Capybara::Driver::Base
end
def invalid_element_errors
[Selenium::WebDriver::Error::StaleElementReferenceError, Selenium::WebDriver::Error::UnhandledError]
[Selenium::WebDriver::Error::StaleElementReferenceError, Selenium::WebDriver::Error::UnhandledError, Selenium::WebDriver::Error::ElementNotVisibleError]
end
end