Skip to content

Commit 3d58bb9

Browse files
committed
Check Ferrum::NodeNotFoundError to force Capybara reruns
See #125
1 parent 201b3bd commit 3d58bb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/capybara/cuprite/driver.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ def wait?
359359
def invalid_element_errors
360360
[Capybara::Cuprite::ObsoleteNode,
361361
Capybara::Cuprite::MouseEventFailed,
362-
Ferrum::NoExecutionContextError]
362+
Ferrum::NoExecutionContextError,
363+
Ferrum::NodeNotFoundError]
363364
end
364365

365366
def go_back

0 commit comments

Comments
 (0)