Prevent timing errors due to invisible elements, in Selenium
This commit is contained in:
parent
6446eac5a3
commit
4f74ff5e6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue