Module: Munchsrb::Gather
- Defined in:
- lib/munchsrb/gather/config.rb,
lib/munchsrb/gather/starter.rb,
lib/munchsrb/gather/scenario.rb,
lib/munchsrb/gather/page_object/pages.rb
Overview
Munchsrb::Gather
Defined Under Namespace
Modules: PageObject Classes: Scenario, Starter
Constant Summary collapse
- DEFAULT_MAX_WAIT_TIME =
2
Class Attribute Summary collapse
-
.driver ⇒ Object
readonly
Returns the value of attribute driver.
Class Method Summary collapse
Class Attribute Details
.driver ⇒ Object (readonly)
Returns the value of attribute driver.
8 9 10 |
# File 'lib/munchsrb/gather/config.rb', line 8 def driver @driver end |
Class Method Details
.init ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/munchsrb/gather/config.rb', line 10 def init Capybara.register_driver :chrome do |app| prepare(app) end Capybara.configure do |config| config.run_server = false config.default_driver = :chrome config.javascript_driver = :chrome config.default_max_wait_time = DEFAULT_MAX_WAIT_TIME end end |