lib/capybara/wait_until.rb in capybara-0.3.7 vs lib/capybara/wait_until.rb in capybara-0.3.8
- old
+ new
@@ -16,9 +16,11 @@
if delay <= 0
raise TimeoutError
end
driver && driver.wait_until(delay)
+
+ sleep(0.05)
end
end
end
end