# What is bot detection?

> Bot detection is how a site scores whether a request comes from a person or from software, using the network, the browser, automation traces and behaviour.

Source: https://mosaicbrowser.com/glossary/bot-detection

## Bot detection: how a site decides a visitor is software

Bot detection is the set of checks a website runs to decide whether a request comes from a person in a real browser or from software, by reading the connection, the browser's fingerprint, traces left by automation tools and the way the visitor behaves. Most systems produce a score rather than a yes or no.

![Bot detection, drawn as a mosaic of tiles](https://mosaicbrowser.com/covers/bot-detection.webp)

Every busy site is visited by scripts: search crawlers it wants, price scrapers and credential-stuffing tools it does not. Bot detection is how it tells them apart from people and from each other. A service such as Cloudflare or DataDome sits in front of the site, reads each request, and attaches a judgement. [Cloudflare's bot score](https://developers.cloudflare.com/bots/concepts/bot-score/), for example, is a number from 1 to 99, where a low score means the request is likely automated, and the site's own rules decide what happens at each level.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: REST API](https://mosaicbrowser.com/features/rest-api)

## How bot detection works, layer by layer

The checks run from the outside in, and the early ones are cheap.

The connection comes first. The IP address has a reputation: datacenter ranges and addresses seen in abuse score worse than a home broadband line. The TLS handshake has a shape, and a Python HTTP library opens a connection differently from Chrome, which [TLS fingerprinting](https://mosaicbrowser.com/glossary/tls-fingerprinting) reads before any page loads.

Then the browser. A JavaScript challenge reads the [browser fingerprint](https://mosaicbrowser.com/glossary/browser-fingerprinting) and looks for values that contradict each other or the request headers. It also looks for automation's own fingerprints: [`navigator.webdriver`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver), which a browser under WebDriver control reports as true; [headless Chrome](https://developer.chrome.com/docs/chromium/headless), which names itself in its User-Agent; and traces of the DevTools protocol that Puppeteer and Playwright use, covered in [CDP detection](https://mosaicbrowser.com/glossary/cdp-detection).

Then behaviour. Clicks with no pointer movement before them, scrolls with no wheel, a form filled in one frame. [Behavioral biometrics](https://mosaicbrowser.com/glossary/behavioral-biometrics) covers what is read and why a script fails on the first sample.

Finally, history across requests: how fast, how many, in what order, from how many addresses. The verdict is a blend, which is why the same browser can pass on one site and get a challenge on another. [How Cloudflare bot management works](https://mosaicbrowser.com/guides/how-does-cloudflare-bot-management-work) and [how DataDome detects bots](https://mosaicbrowser.com/guides/how-does-datadome-detect-bots) go through two vendors' published signals.

## How to see what a detector sees

Public test pages run a subset of these checks and print the results. [The Sannysoft bot test](https://mosaicbrowser.com/guides/sannysoft-bot-test-explained) is the classic one for automation flags. Run your setup against two or three, and run each more than once: a timing-based check can disagree with itself between loads, and one reading of a third-party verdict is not evidence.

## How Mosaic deals with bot detection

Mosaic is a browser for people running accounts they are entitled to run, and for scripts working on sites that allow them. It is not a tool for getting past a site's decision to keep scripts out. Within that, our job is that a profile does not send false signals: a person browsing in a Mosaic profile should not be scored as a bot because of the browser.

Three things we measured and built around:

1. **Measurements are never headless.** The leak test and detection runs use a headed browser, and so does the warm-up robot unless you ask it for headless; background work runs off-screen instead, because a headless Chrome announces itself and drops the real GPU.
2. **No `Runtime.enable`.** Enabling that one DevTools domain flipped a public detector, deviceandbrowserinfo, from not-a-bot to bot in our tests, so Mosaic's page driving never sends it, and the build fails if the string appears.
3. **Input is human-shaped.** Clicks, scrolls and typing go through trusted browser events with human timing.

Mosaic's Detection tests screen runs a profile against a catalogue of public detectors (49 in five groups as of November 2026), one of them automation, and reports each verdict by name.

![Driving a Mosaic profile from Playwright: start it over the local API and attach to its DevTools socket](https://mosaicbrowser.com/shots/api-automation.png)
*A profile started over the local API, attached from Playwright*

## Sources

1. [Cloudflare docs: Bot scores](https://developers.cloudflare.com/bots/concepts/bot-score/), read November 2, 2026
2. [MDN: Navigator.webdriver](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver), read November 2, 2026
3. [Chrome for Developers: Chrome Headless mode](https://developer.chrome.com/docs/chromium/headless), read November 2, 2026

## Questions

### What is a bot score?

A number a bot-detection service attaches to a request to say how likely it is to be automated. Cloudflare's, for example, runs from 1 to 99, and a site decides what to do at each level: allow, challenge or block.

### Is a CAPTCHA the same as bot detection?

A CAPTCHA is one response a bot-detection system can choose. Most of the detection happens silently before it, and a visitor who scores well never sees a puzzle.

### Does headless Chrome get detected?

Easily, in its default form. Headless Chrome puts HeadlessChrome in its User-Agent and does not use the real GPU, so a page can read both in a line of JavaScript.

### Why does a site think I am a bot when I am not?

Common causes are a VPN or datacenter IP with a poor reputation, a privacy extension that blocks the detection script, a browser whose values contradict each other, or very fast repeated actions.

## Related

[How does Cloudflare bot management work?](https://mosaicbrowser.com/guides/how-does-cloudflare-bot-management-work): A Cloudflare bot score of 1 is automated, 2 to 29 likely automated, 30 to 99 likely human, 0 not scored. Heuristics, a model and a JS check set it.

[How does DataDome detect bots?](https://mosaicbrowser.com/guides/how-does-datadome-detect-bots): DataDome scores each request on the server, then runs a Device Check in the browser that reads screen, codecs, CPU, GPU and canvas for contradictions.

[Sannysoft bot test explained, row by row](https://mosaicbrowser.com/guides/sannysoft-bot-test-explained): bot.sannysoft.com checks webdriver, window.chrome, plugins, languages, WebGL and a broken image for signs of a headless browser. What each row tests.

[CDP detection: how a page notices DevTools is driving it](https://mosaicbrowser.com/glossary/cdp-detection): CDP detection is a page noticing that the Chrome DevTools Protocol is driving the browser, usually because Puppeteer or Playwright enabled Runtime.

[Behavioral biometrics: telling people apart by how they move](https://mosaicbrowser.com/glossary/behavioral-biometrics): Behavioral biometrics recognise a person, or spot a bot, from how they type, move a mouse, scroll and touch a screen, rather than from what they know.

[TLS fingerprinting: identifying a client by its handshake](https://mosaicbrowser.com/glossary/tls-fingerprinting): TLS fingerprinting identifies the software behind a connection from its TLS ClientHello, read before any page loads. JA3 and JA4 are the common formats.

[Selenium detection: the marks ChromeDriver leaves in a page](https://mosaicbrowser.com/glossary/selenium-detection): Selenium detection is how a site spots a browser driven by Selenium: navigator.webdriver, the globals ChromeDriver adds, headless tells, DevTools traces.

[navigator.webdriver: the flag that says automation is driving](https://mosaicbrowser.com/glossary/navigator-webdriver): navigator.webdriver is a browser property that reads true when automation controls the browser. Chrome sets it for --enable-automation and --headless.

## See bot detection on a real profile

Mosaic shows the values a site reads, per profile, and runs a leak test from inside the profile’s own page. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
