Skip to content

Commit 80570f3

Browse files
committed
Fix #110 add CUPRITE_DEBUG back
1 parent ab4d592 commit 80570f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/capybara/cuprite/driver.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def initialize(app, options = {})
2626
@screen_size ||= DEFAULT_MAXIMIZE_SCREEN_SIZE
2727

2828
@options[:save_path] = Capybara.save_path.to_s if Capybara.save_path
29+
30+
ENV["FERRUM_DEBUG"] = "true" if ENV["CUPRITE_DEBUG"]
2931
end
3032

3133
def needs_server?

0 commit comments

Comments
 (0)