class Capybara::Apparition::Browser::Launcher
Public Class Methods
start(options)
click to toggle source
# File lib/capybara/apparition/browser/launcher.rb, line 9 def self.start(options) browser_options = options.fetch(:browser_options, {}) if options.fetch(:remote, false) Remote.start( browser_options ) else Local.start( headless: options.fetch(:headless, true), browser_options: browser_options ) end end