Testing Browser - Chrome Headless
Last Modified:
Headless browser automation allows for testing without the slow loading times of a browser’s UI. This enables tests to be run on servers and virtual machines that don’t have graphics or displays available.

To run tests in Chrome’s headless mode, use the drop down browser menu to select Chrome – Headless.
Selecting this option will cause Run and Debug modes to run tests without launching the browser. Test Builder mode is unaffected by this option and will always launch a Chrome browser to enable test building.
Run with ANT
The Chrome Headless option can also be selected when generating a build file using Run under ANT:

It appears in the Build.XML as follows:

Chrome headless in _chromeOptions
Previously Provar supported running tests headlessly by configuring a _chromeOptions environment variable. This option is still supported and settings defined under a _chromeOptions variable will continue to work in the same manner as before.
If a situation arises where there is a conflict between the Web Browser setting and the setting defined under _chromeOptions, preference will be given to the _chromeOptions setting.
This means that, if headless is enabled in _chromeOptions but Web Browser is set to standard Chrome (non-headless), Provar will still run Chrome in headless.
Read more about Testing Browser Options.