method
default_chrome_options
v8.1.1 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::Browser
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