When automated Selenium Integration UI tests such as Regression tests or Smoke tests runs, the controlled browser window never failed to annoy me. This forced me to do some research on automated tests using Headless browsers.

I started writing tests using amazing phantomJS , sooner found out that the maintainer of PhantomJS announced that he is stepping down as maintainer in favour of Google Chrome Headless.

Google added support for headless testing in Version 59.

Download source code for this article

The source code is available in Github repository., the readme file contains additional information about setting up your environment and running tests.

Build and Test status

This github repository uses Travis CI
Link to travis ci build page

What is headless Integration testing

Headless testing is basically running UI integration tests on a browser without the Head a.k.a User interface.
Read More