Puppeteer combined with a test framework provides a great way to run automated browser tests. Follow this guide for more information.
Test Earlier
Headless tests run much faster than Selenium tests, while still running on a real browser. The difference is that in contrast with normal Selenium testing, Headless testing does not need to wait or interact with the browser UI.
Headless Testing provides developers with fast success/fail data and is perfect for quick tests; sanity checks, pull requests, smoke tests...