Headless Browser
ELI5 — The Vibe Check
A headless browser is a real browser — Chrome, Firefox — but without the visible window. It runs in the background, loading pages, clicking buttons, and running JavaScript, just invisibly. Perfect for CI servers that don't have a screen to display anything.
Real Talk
A headless browser is a web browser that can be operated programmatically without a graphical user interface. It fully supports JavaScript, CSS, and browser APIs. Tools like Playwright and Puppeteer use headless Chrome/Firefox for automated testing in CI environments.
When You'll Hear This
"Tests run in headless mode on CI — use headed mode locally to debug." / "The headless browser failed to load the page because it didn't support that CSS property."
Related Terms
CI Testing
CI Testing is running all your tests automatically every time someone pushes code.
Cypress
Selenium drives a browser like a confused tourist with a map.
End-to-End Test (E2E)
An end-to-end test is like hiring a robot to be a user.
Playwright
Playwright is an end-to-end testing tool that controls real browsers (Chrome, Firefox, Safari) to test your web app the way a user would.
Puppeteer
Puppeteer is what Google built when they wanted to automate Chrome without Selenium's drama.