method
set_headless_chrome_browser_options
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::Browser
set_headless_chrome_browser_options()private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/browser.rb, line 72
def set_headless_chrome_browser_options
configure do |capabilities|
capabilities.add_argument("--headless")
capabilities.add_argument("--disable-gpu") if Gem.win_platform?
end
end