Why might we choose a headless browser?
If some of the following evaluated to true and you viewed them as important:
- more reliable over repeated runs
- easier to run as part of the CI process than a real browser
- fewer side-effects to tidy up in the event of failure e.g. browser windows left open
- the functionality uses such basic HTML that it doesn’t need a ‘full’ browser
- run task in background without a browser popping up
Do you know about more reasons to use headless browser testing ?