method

set_headless_chrome_browser_options

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Browser
set_headless_chrome_browser_options() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 59
        def set_headless_chrome_browser_options
          configure do |capabilities|
            capabilities.add_argument("--headless")
            capabilities.add_argument("--disable-gpu") if Gem.win_platform?
          end
        end
Register or log in to add new notes.