Class: Billy::Browsers::Capybara
- Inherits:
-
Object
- Object
- Billy::Browsers::Capybara
- Defined in:
- lib/billy/browsers/capybara.rb
Constant Summary collapse
- DRIVERS =
{ poltergeist: 'capybara/poltergeist', webkit: 'capybara/webkit', selenium: 'selenium/webdriver', apparition: 'capybara/apparition', cuprite: 'capybara/cuprite' }
Class Method Summary collapse
Class Method Details
.register_drivers ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/billy/browsers/capybara.rb', line 15 def self.register_drivers DRIVERS.each do |name, driver| begin require driver send("register_#{name}_driver") rescue LoadError end end end |