Skip to content

Commit

Permalink
Check Ferrum::NodeNotFoundError to force Capybara reruns
Browse files Browse the repository at this point in the history
  • Loading branch information
nherzing committed Oct 19, 2020
1 parent 201b3bd commit 3d58bb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/capybara/cuprite/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ def wait?
def invalid_element_errors
[Capybara::Cuprite::ObsoleteNode,
Capybara::Cuprite::MouseEventFailed,
Ferrum::NoExecutionContextError]
Ferrum::NoExecutionContextError,
Ferrum::NodeNotFoundError]
end

def go_back
Expand Down

0 comments on commit 3d58bb9

Please sign in to comment.