To test bot protection on your website, point traffic you can name at a copy of the site and read your vendor's log entry for each request. Somebody else's shop behind the same vendor won't do. Its rules were tuned for its own customers, it prints no score, and it changes without notice, so all it can tell you is whether one visit got the page.
We know where that line sits because we built the "Live gates" group of our detection catalogue, and most of what follows is copied from the notes on its rows.
What a live gate actually reports
The catalogue lives in src/shared/detection-tests.ts, and eleven of its rows carry category: 'waf'. The comment at the top of the file sets the rule for every one of them: "A WAF test has no score to read." Cloudflare does not tell a visitor it rated them 0.3. It serves the page or it serves a challenge, so the pass line on most of those rows is a sentence about rendering: "Loads without a device-check interstitial", "Content renders without a 429 or an integrity page".
Five rows point at big commercial sites, each picked because it sat behind one vendor when the row was written: Akamai Bot Manager, F5's Shape, Kasada, Imperva and HUMAN (PerimeterX). DataDome and Qrator get rows on their own marketing sites, which run the product they sell. And the pass lines disagree with each other because the sites behave differently. The akamai row warns that Akamai "often serves once and blocks on the second navigation", so one page load proves nothing there. The perimeterx row only counts after several pages, because HUMAN weights mouse and scroll behaviour over time (behaviour tests score your mouse has what that scoring reads).
Nobody set those shops up for us. Their owners picked the strictness for their own traffic and can tighten it tomorrow. A pass on the kasada row is a fact about one browser, on one IP, on one visit to one hotel chain's homepage. A fail is a fact of exactly the same size.
Everything the window does, from a script on your own computerIn Mosaic: REST API. Everything the window does, from your own scripts. 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.
Three ways a gate misleads a tester
The demo that passes everyone
We had to mark the Turnstile demo row verdict: 'reference' instead of 'automatic'. When we measured it, the page handed out the token XXXX.DUMMY.TOKEN.XXXX, which is the reply Cloudflare documents for its always-passes test sitekey, 1x00000000000000000000AA. No widget iframe was ever created and no challenge ever ran. A script got the same string a person did. Counting that as a pass would have been the catalogue lying in the flattering direction, so the row now says it measures nothing and sends the reader to cloudflare-challenge, which does (what nowsecure.nl can tell you).
The score that arrives late
The reCAPTCHA v3 demo prints a number, which almost nothing else does, and our row passes at 0.7 or above. Early on we read it at 20 seconds. On one run of three the score wasn't there yet; at 30 and 35 seconds it was. So we waited 35, and a full catalogue run still came back unread while a stock browser in the same session read score 0.9. We had taken three timings and none of them described the site. Now the row polls for the score itself and gives up after 90 seconds.
The page that renders before it has measured
This one isn't only a gate problem. A bot test its author has retired can still answer HTTP 200. One scoring page we read printed "Bot score 0/100" while its hash field still said collecting… (a dead detector that returns 200). Read the status code, or the first number on the page, and you'd log both as passes.
How to test bot protection on your own website
On your own site you can read the vendor's record of each decision, which no outside page will ever show you. Everything below is built around that log.
- Use a staging host, or a test path that carries the production rules. Then a challenge lands on you instead of a customer, and real visitors don't end up in the numbers.
- Wire the widget up with the vendor's test keys before anything else. For Turnstile that's the
1x00000000000000000000AAkey from the demo above. A test key tells you the integration works, and it is built to tell you nothing about detection. - Name every kind of traffic you send: Chrome by hand, the same Chrome under Playwright or Puppeteer, a headless run,
curl. Then send each one again from a datacentre address. Change one of those per run. - Pull the log entry for every request. You want the decision or score, the rule that fired and the signals the vendor cited. A rendered page only says the request got through.
- Run each case more than once. Akamai's habit of serving the first page and blocking the second is the reason. Our runner has a
--roundsflag for this, and a row whose verdict moves between rounds is stored asflaky, which counts as neither pass nor fail.
Put a stock browser in every batch as the control. Each row in our catalogue is held to that: when a stock Chrome gets the same verdict, the verdict says nothing about the client under test. On your own gate it works the same way. If plain Chrome, driven by hand, gets challenged from a datacentre address, your address rule fired, and your bot detection still hasn't been tested.
Where our catalogue fits
We point the live gates at Mosaic profiles because a profile meets these gates on ordinary sites and should be served like the Chrome it claims to be. run-detection-tests.mjs records a gate that served nothing as unreachable, never as a pass, and the same catalogue can be run through a stock Chrome as a control. That is useful for grading a browser. It grades nobody's bot protection, and if we ran a shop we would not grade ours on somebody else's.
How each group of the catalogue is read is in 49 browser fingerprint detectors. What a browser that keeps its values consistent can and cannot promise against a gate is in what an anti-detect browser is.






