method
default_firefox_options
v8.1.1 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::Browser
default_firefox_options()private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 59
def default_firefox_options
options = ::Selenium::WebDriver::Firefox::Options.new
options.add_argument("-headless") if name == :headless_firefox
options
end