Detect Anti-Bot Protection in Chrome: A How-To
In this article
Anti-bot protection (also called bot detection or bot mitigation) is software that websites use to tell human visitors apart from automated scripts. If you're building a scraper, testing a site, or just curious why a page behaves oddly, you can detect whether a site is using such protection directly from Chrome's developer tools. This guide shows you how to spot the common signs of anti-bot systems without bypassing them.
What You'll Need
- Google Chrome (current version) on any desktop OS
- The website you want to inspect (have its URL ready)
- Basic familiarity with Chrome DevTools (opening the panel and reading network logs)
Step-by-Step
- Open Chrome DevTools. Navigate to the target website, then press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac). Alternatively, right-click anywhere on the page and select "Inspect".
- Go to the Network tab. In the DevTools panel, click the "Network" tab at the top. If you don't see it, click the >> (double chevron) to reveal more tabs.
- Reload the page while recording. With the Network tab open, press Ctrl+R (or Cmd+R on Mac) to reload the page. You'll see a list of all requests the page makes.
- Look for known anti-bot domains. In the Network list, click the "Name" column header to sort alphabetically. Scan for requests to domains like
captcha,recaptcha,hcaptcha,turnstile,arkose,datadome,perimeterx,cloudflare, orincapsula. These are common third-party bot protection services. - Check for challenge pages. If the site shows a CAPTCHA or a "Checking your browser" interstitial, that's a clear sign. Note the URL of that challenge page—it often contains the name of the protection service (e.g.,
captcha-delivery.comfor DataDome). - Inspect the HTML for fingerprinting scripts. Go to the "Elements" tab, press Ctrl+F to search, and type keywords like
challenge,fingerprint,bot, orwebdriver. Look for hidden input fields or script tags referencing these terms. Many anti-bot systems inject JavaScript that checks for automation flags. - Use the Console tab for warnings. Click the "Console" tab. Look for error messages like "Failed to load resource" or warnings about blocked scripts. Some anti-bot systems deliberately block certain browser APIs to test for automation; you may see errors like
Cannot read property 'webdriver'orBlocked a frame with origin. - Check cookies. In the Network tab, click on any request to the main site, then go to the "Cookies" tab in the request details. Look for cookie names like
_cfduid(Cloudflare),datadome,bm_sz(Akamai), or_pxhd(PerimeterX). These cookies are set by anti-bot services. - Look for WebDriver detection. In the Console, type
navigator.webdriverand press Enter. If it returnstrue, the browser is likely under automated control—but note that this is a property that anti-bot scripts check, not a detection method itself. A site that returnstruemay be using that signal to block you. - Examine the JavaScript sources. In the Network tab, filter by "JS" (click the "JS" button). Look for script files with names like
challenge.js,fingerprint.js,bot.js, orcaptcha.js. Right-click and open in a new tab to see if the code contains references to "bot", "automation", or "headless". - Test with a fresh incognito window. If the site behaves differently in incognito (e.g., no CAPTCHA), that's a sign the anti-bot system is using cookies or local storage from a previous session. It doesn't confirm anti-bot, but it's a useful comparison.
Common Mistakes
- Confusing anti-bot with regular security. Not every CAPTCHA or cookie is anti-bot; some are for login protection or analytics. Look for a combination of signals rather than a single one.
- Ignoring the Network tab. Many beginners only look at the rendered page, but anti-bot scripts often run silently in the background. Always check network requests.
- Assuming all Cloudflare requests mean anti-bot. Cloudflare offers both CDN and bot management. A
_cfduidcookie alone doesn't mean bot protection is active; look for acf-challengeheader or a challenge page. - Not clearing cookies between tests. If you've already solved a CAPTCHA, the site may let you through on subsequent loads. Clear cookies or use incognito to see the initial protection.
- Overlooking the Performance tab. Some anti-bot scripts cause heavy CPU usage. If the page lags or spins, it might be running fingerprinting code—but this is a weak signal on its own.
Tips
- Use the filter bar in Network. Type
jsorscriptin the filter box to quickly see only JavaScript files. - Check the initiator column. In the Network tab, the "Initiator" column shows what triggered a request. If a script from an anti-bot domain is initiating other requests, that's a strong indicator.
- Look for the word "challenge" in response headers. In the Network tab, click a request and look at the "Response Headers". Headers like
cf-challengeorx-datadomeare direct evidence. - Disable JavaScript temporarily. Press Ctrl+Shift+P to open the Command Menu, type "Disable JavaScript", and reload. If the anti-bot script doesn't run, the page may load without the challenge—this confirms the protection relies on JS.
- Keep DevTools open while solving a CAPTCHA. If you solve a CAPTCHA, watch the Network tab to see which request succeeds and what parameters are sent. That reveals the protection service.
Troubleshooting
You don't see any suspicious requests. The anti-bot script might be embedded in the main HTML or a bundled JS file. Search the Elements tab for "challenge" or "bot" keywords. Also, try disabling your ad-blocker—some anti-bot scripts are mistakenly blocked, preventing them from showing up.
The site loads normally, but you still suspect anti-bot. Some protections only activate after specific actions (e.g., clicking a button, moving the mouse). Try interacting with the page and watch the Network tab for new requests.
You see a 403 or 429 error. These HTTP codes often indicate bot blocking. Check the response body—it may contain a challenge page. Also, look at the "Response Headers" for Server: cloudflare or X-Powered-By: Datadome.
navigator.webdriver returns false, but you're still blocked. That's normal—anti-bot systems use many signals beyond that property. Don't rely on it as a definitive test.
The Network tab is empty. Make sure you're on the Network tab and reload the page. If it's still empty, try clearing browser cache and reloading again.
Frequently Asked Questions
Can I bypass anti-bot protection?
This guide is for detection only. Bypassing anti-bot systems may violate a website's terms of service and could lead to your IP being blocked. It's not recommended.
Is anti-bot protection the same as a CAPTCHA?
No. CAPTCHAs are one type of anti-bot measure, but anti-bot systems can also use fingerprinting, behavioral analysis, and IP reputation without showing a visible challenge.
Does incognito mode hide me from anti-bot?
No. Incognito only prevents local history and cookies from being saved. Anti-bot systems can still fingerprint your browser and see your IP address.
Can I detect anti-bot without opening DevTools?
Sometimes. If you see a CAPTCHA or a "Checking your browser" page, that's obvious. But most silent protections require DevTools to spot.
Why do some sites use anti-bot on every page?
To protect against scraping, credential stuffing, and DDoS attacks. Even normal users may see a challenge occasionally, but it's usually brief.
Is it legal to detect anti-bot?
Yes, inspecting a website's code and network requests is generally legal as long as you're not bypassing security measures or accessing data you're not allowed to. However, always respect the site's terms of service.