Class: Capybara::Apparition::Browser::Launcher
- Inherits:
-
Object
- Object
- Capybara::Apparition::Browser::Launcher
- Defined in:
- lib/capybara/apparition/browser/launcher.rb,
lib/capybara/apparition/browser/launcher/local.rb,
lib/capybara/apparition/browser/launcher/remote.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.start(options) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/capybara/apparition/browser/launcher.rb', line 9 def self.start() = .fetch(:browser_options, {}) if .fetch(:remote, false) Remote.start( ) else Local.start( headless: .fetch(:headless, true), browser_options: ) end end |