---
title: "What is a headless browser? Definition and examples"
description: "A headless browser is a web browser that runs without a visible window and is controlled by code. It is used for testing and automation, and often by bots."
canonical: "https://finic.ai/glossary/headless-browser"
last-updated: "2026-12-03"
---

# What is a headless browser?

A headless browser is a web browser that runs without a visible window and is controlled by code. It is used for testing and automation, and often by bots.

Also called: Headless Chrome, Browser automation

## How it works

A headless browser loads pages, runs JavaScript and handles cookies like a normal browser, but nothing is drawn on a screen. A script tells it where to go, what to click and what to type, usually through an automation library or a remote control protocol.

Because it runs a real browser engine, it can get through sites that block simple HTTP scripts. Many [AI agents](https://finic.ai/glossary/ai-agent) also use browser automation to act on websites.

## Legitimate and abusive uses

Developers use headless browsers to test their own sites, render pages and generate screenshots or PDFs. Fraudsters use the same tools to create accounts in bulk, run [credential stuffing](https://finic.ai/glossary/credential-stuffing), test stolen cards, scrape data and buy limited stock.

## How it is detected

Automation tools leave traces, though attackers work to hide them.

- Automation flags, such as the webdriver property, set by the browser.
- Missing or unusual browser features, plugins, fonts or graphics output.
- Traits that contradict each other, such as a user agent that names one browser while the engine behaves like another.
- No pointer movement, perfect timing between actions, or typing that is too fast and even.

## Why detection is an ongoing effort

Stealth plugins patch the most obvious signals, and some attackers drive full, non-headless browsers on real devices. Teams that only check one flag will miss them. [Bot detection](https://finic.ai/glossary/bot-detection) that combines browser, network and behavior signals, plus [device fingerprinting](https://finic.ai/glossary/device-fingerprinting) to link repeat visits, holds up better.

## How Finic helps

Finic Identify flags automation such as webdriver and browsers that contradict themselves, and lists the reasons behind each verdict. [Learn more](https://finic.ai/products/identify)

## Related terms

- [Bot detection](https://finic.ai/glossary/bot-detection.md): Bot detection is the set of methods used to tell whether a website or app visitor is a person or an automated program, and often which kind of program it is.
- [Device fingerprinting](https://finic.ai/glossary/device-fingerprinting.md): Device fingerprinting identifies a device by combining many of its traits, such as browser, operating system and hardware settings, into an ID that can recognize it on later visits.
- [Credential stuffing](https://finic.ai/glossary/credential-stuffing.md): Credential stuffing is an automated attack that tries large lists of stolen usernames and passwords on a login page, betting that people reuse the same password across sites.
- [Residential proxy](https://finic.ai/glossary/residential-proxy.md): A residential proxy routes internet traffic through IP addresses assigned to home connections, so automated or remote traffic looks like it comes from ordinary households.
- [CAPTCHA](https://finic.ai/glossary/captcha.md): A CAPTCHA is a challenge shown to a website visitor, such as reading distorted text or picking images, meant to be easy for people and hard for automated programs.
