lib/billy/browsers/capybara.rb in puffing-billy-0.9.0 vs lib/billy/browsers/capybara.rb in puffing-billy-0.9.1

- old
+ new

@@ -10,11 +10,14 @@ selenium: 'selenium/webdriver' } def self.register_drivers DRIVERS.each do |name, driver| - require driver rescue next - send("register_#{name}_driver") + begin + require driver + send("register_#{name}_driver") + rescue LoadError + end end end private