Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/capybara/webkit/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,13 @@ def needs_server?
end

def reset!
tries ||= 2
@browser.reset!
apply_options
rescue Capybara::Webkit::CrashError
tries -= 1
retry unless tries.zero?
raise
end

def has_shortcircuit_timeout?
Expand Down