Headless Browser
A headless browser runs a full browser engine (including JavaScript execution and DOM rendering) without a visible user interface, which is why it can load dynamic pages a plain HTTP request cannot. By operating entirely in the background via command-line or network protocols (like CDP), it processes CSS, fires asynchronous fetch requests, and evaluates React or Vue lifecycle methods precisely like a consumer browser would. This makes it mandatory infrastructure for extracting data from modern Single Page Applications (SPAs).
When compared in a headless browser vs regular browser context, the underlying Chromium or Firefox engine is identical, but the execution environment exposes unique hardware and rendering artifacts. Because a headless browser lacks attached displays and audio peripherals, its default configuration leaks anomalies, such as missing navigator.webdriver flags, zero-dimension screen sizes, or stripped WebGL capabilities. These discrepancies make headless browser detection trivial for anti-bot systems unless the environment is rigorously patched and spoofed.
Key Specifications & Comparison
| Parameter / Feature | Plain HTTP Request | Headless Browser |
|---|---|---|
| JavaScript Execution | No | Yes (Full V8/SpiderMonkey engine) |
| DOM Rendering | Raw HTML only | Fully evaluated DOM tree |
| Resource Cost | Minimal CPU/RAM | High memory and compute overhead |
| Detection Vector | TLS/Headers | Canvas, WebGL, and Navigator properties |
Related terms
Cache Busting
Cache busting appends unique tokens to requests to force fresh origin server responses. Learn how cache busting ensures fresh and accurate web scraping data.
Read more →API Reverse Engineering: Inspection and Supported Alternatives
API reverse engineering inspects network calls to extract data directly from backend endpoints, skipping HTML rendering and brittle DOM selectors entirely.
Read more →Pagination (Web Scraping Pagination)
Learn what pagination means in web scraping, how numbered, next-link, and cursor patterns differ, and how to work through paged results without missing records.
Read more →Web Rendered
Extract data automatically, browse undetected, and beat anti-bot systems — all in one powerful tool.
Get started free