Configure Headless Chrome
Workarea system tests are run within a headless instance of Chrome, driven by Selenium. Since Workarea 3.5.0, you can customize this setup using the following configuration values:
Config | Description |
---|---|
headless_chrome_options |
Options hash passed to the Selenium driver |
headless_chrome_args |
Array of command line arguments passed to the Chrome executable |
Replace or mutate the default values from within your test helper:
# <your_application_root>/test/test_helper.rb
Workarea.configure do |config|
config.headless_chrome_options = {...}
config.headless_chrome_args = [...]
end
Help Us Improve this Doc
Was this helpful? Open a GitHub issue to report a problem with this doc, suggest an improvement, or otherwise provide feedback. Thanks!