Running Browsers Headlessly

Learn how to run Selenium tests in a headless browser.

Headless browser testing with PhantomJS

A headless browser is a web browser without a graphical user interface. The main benefit of headless browser testing is its performance. PhantomJS is a headless browser that is built on top of WebKit (the engine behind Safari and Chrome). We can do headless testing in PhantomJS by:

Get hands-on with 1300+ tech skills courses.