Skip to content
Finic
AI and agents

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 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, 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 that combines browser, network and behavior signals, plus device fingerprinting to link repeat visits, holds up better.

← All glossary terms

Ship fraud, bot and KYB checks in minutes.

Start with $5 of free credit, or copy a prompt and let your coding agent set Finic up.

Sign up See pricing