Maintenance: Update Selenium Error to TimeoutError from TimeOutError
This commit is contained in:
parent
5bb17cb776
commit
1d67c84bef
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ module BrowserTestHelper
|
|||
rescue Capybara::ElementNotFound
|
||||
# doesn't exist yet
|
||||
end
|
||||
rescue Selenium::WebDriver::Error::TimeOutError => e
|
||||
rescue Selenium::WebDriver::Error::TimeoutError => e
|
||||
# cleanup backtrace
|
||||
e.set_backtrace(e.backtrace.drop(3))
|
||||
raise e
|
||||
|
@ -191,7 +191,7 @@ module BrowserTestHelper
|
|||
rescue Capybara::ElementNotFound
|
||||
true
|
||||
end
|
||||
rescue Selenium::WebDriver::Error::TimeOutError => e
|
||||
rescue Selenium::WebDriver::Error::TimeoutError => e
|
||||
# cleanup backtrace
|
||||
e.set_backtrace(e.backtrace.drop(3))
|
||||
raise e
|
||||
|
|
Loading…
Reference in a new issue