method
headless_chrome_browser_options
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::Browser
headless_chrome_browser_options()private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 33
def headless_chrome_browser_options
options = Selenium::WebDriver::Chrome::Options.new
options.args << "--headless"
options.args << "--disable-gpu" if Gem.win_platform?
options
end