Method: QAT::Web::Browser::Loader#load_config
- Defined in:
- lib/qat/web/browser/loader.rb
#load_config(config) ⇒ Object
Registers browser drivers in Capybara from a configuration hash
33 34 35 36 37 38 |
# File 'lib/qat/web/browser/loader.rb', line 33 def load_config(config) config.each do |controller, | raise InvalidConfigurationError.new "No browser defined for controller #{controller}" unless ['browser'] register_controller(controller.to_sym, ) end end |