TestingBot Blog

TestingBot provides a cloud of browsers and devices, ready to run your Automated, Live and Visual tests.

< Back to Blog Overview

Headless Testing with WebDriver

2017-08-07

Since Chrome 60, there's an option to make Chrome run in headless mode. Headless mode means Chrome does not need to start up a User Interface (Window/GUI), it simply runs without any visualisation. This also means that the browser starts up way faster than it normally would and that it runs much faster too.


Even though running tests in a Headless browser is not the same like a user browsing your website on a normal browser, it might still make sense to use Headless Testing as a way to quickly verify certain things on your website (Smoke-test).


Today we've added support to our Selenium Grid which allows you to run headless tests on Chrome. Since there's no UI, this means there will not be any screen-recording of the test or screenshots during the test.


To run a test in Chrome headless mode, pass in "headless" : true in your desired capabilities:


Running tests in headless mode makes tests start faster, makes them faster and uses up less minutes of your TestingBot account.


More information and documentation for headless testing is available on the headless test docs.

< Back to Blog Overview

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.