Google Chrome (headless)
When running tests in browser, wallaby.js uses your local version of Google Chrome (headless) as its test runner by default.
You may use an absolute or a relative path (or a command if you have it in PATH
) in your
wallaby.js config file. It may be useful if you would like to use a specific version of
Chrome.
wallaby.js
Passing Chrome flags
By default, wallaby.js is passing the following flags to Chrome:
--headless
--disable-gpu
--disable-translate
--disable-extensions
--disable-background-networking
--safebrowsing-disable-auto-update
--disable-sync
--metrics-recording-only
--disable-default-apps
--no-first-run
For Linux environments, an additional two flags are also passed:
--no-sandbox
--disable-setuid-sandbox
You may pass other flags, by using the env.params.runner
setting, for example:
wallaby.js