Module: QAT::Web::Browser::AutoLoad
- Includes:
- Logger
- Defined in:
- lib/qat/web/browser/autoload.rb
Overview
Helper methods for configuration auto-loading
Class Method Summary collapse
-
.load_browsers! ⇒ Object
Loads all screens from QAT cconfiguration cache.
Class Method Details
.load_browsers! ⇒ Object
Loads all screens from QAT cconfiguration cache
11 12 13 14 15 16 17 18 |
# File 'lib/qat/web/browser/autoload.rb', line 11 def self.load_browsers! if QAT.respond_to?(:configuration) && QAT.configuration[:browsers] QAT::Web::Browser::Loader.load_config(QAT.configuration[:browsers]) log.debug { "Browser controllers loaded in cache: [#{Capybara.drivers.keys.join(', ')}]" } else log.debug { "Browser controllers aren't loaded in cache, load screens manually from file using QAT::Web::Browser::Loader#load" } end end |