method

default_chrome_options

rails latest stable - Class: ActionDispatch::SystemTesting::Browser

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

default_chrome_options()
private

No documentation available.

# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 51
        def default_chrome_options
          options = ::Selenium::WebDriver::Chrome::Options.new
          options.add_argument("--disable-search-engine-choice-screen")
          options.add_argument("--headless") if name == :headless_chrome
          options.add_argument("--disable-gpu") if Gem.win_platform?
          options
        end