Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Short answer: do not try to make Selenium, Puppeteer, Playwright or Cypress solve a production Cloudflare challenge. Cloudflare explicitly does not support those automation frameworks for that purpose. If you are a legitimate visitor, troubleshoot the browser, JavaScript, extensions, network and session IP, then give the site owner the error code and Ray ID. If you are testing a site you own, use Cloudflare Turnstile’s documented test sitekeys and secret keys, and verify every token server-side with Siteverify.

First identify which problem you are solving

The correct fix depends on whether you are trying to access somebody else’s protected site or testing your own integration.

Situation Supported approach What not to do
Legitimate human visitor Use a current, supported browser; enable JavaScript; remove interfering extensions; keep a stable network and session IP; report the Ray ID if the loop continues. Do not use browser automation to defeat the production challenge.
Automated QA for a site you control Use Turnstile’s dummy sitekeys and secret keys for deterministic pass, fail and interactive test cases. Do not make production challenge-solving part of an end-to-end test.
Third-party site you do not administer Send the administrator the visible error code, Ray ID and requested diagnostics. Do not modify browser fingerprints, rotate IPs or attempt challenge circumvention.

Cloudflare’s Supported browsers documentation, last updated August 18, 2026, says: “Browser automation frameworks, such as Selenium, Puppeteer, Playwright, and Cypress, are not supported for solving production challenges.” A modern browser being supported does not make an automated browser an approved challenge solver.

Why Cloudflare keeps asking you to verify

A challenge loop can be caused by the environment rather than a site outage. Cloudflare lists unstable networks, unsupported or heavily modified browsers, disabled JavaScript and bot-like signals among possible causes. A Managed Challenge can also fail when the solve comes from a different IP than the request that received the challenge.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Browser and script conditions

  • Use an up-to-date browser that Cloudflare supports. Internet Explorer is excluded.
  • Confirm JavaScript is enabled and that the page’s scripts are not blocked by a content filter.
  • Temporarily disable extensions that block scripts, alter headers or modify browser signals. Re-enable them one at a time after diagnosis.
  • Try a private window to separate extension and cached-state problems from the account or network.

Network and session consistency

  • Retry on a stable connection rather than a congested or repeatedly dropping link.
  • As a diagnostic, try another network. If practical, test briefly without a VPN or proxy.
  • Keep the same public IP from challenge issuance through the solve. Switching networks, proxies or VPN exits mid-flow can invalidate the solve.

What automation changes

Automation frameworks can alter browser signals and timing in ways that resemble bot activity. Cloudflare does not provide an approved method for making those signals pass a production challenge. Treat a failure in Playwright, Selenium, Puppeteer or Cypress as an unsupported test design, not as an invitation to evade detection.

A supported troubleshooting sequence for legitimate visitors

  1. Record evidence before refreshing. Write down the visible error code and Ray ID. If the site owner asks, open developer tools, save the console output and capture a HAR file without editing it.
  2. Verify browser basics. Update the browser, enable JavaScript, and remove extensions that interfere with scripts or privacy signals. Retry in a private window.
  3. Stabilize the connection. Avoid changing VPN exits, proxies or networks during one challenge attempt. Test a second network only as a diagnostic.
  4. Retry once in a clean session. Close the affected tabs, open a new private session and load the page again. Repeated refreshes can create more challenge attempts without addressing the cause.
  5. Interpret logs carefully. A Private Access Token request returning HTTP 401 can be expected and is not, by itself, proof that Turnstile failed. Challenge-related subdomain lookup failures can likewise be non-fatal when the widget still completes.
  6. Escalate to the administrator. Provide the error code, Ray ID, approximate time, browser version, network type and the requested console or HAR evidence. Cloudflare’s visitor guidance does not include an automation workaround for production challenges.

How to test Turnstile with Selenium, Playwright or another framework

For an owned site, replace production credentials in your test environment with Cloudflare’s documented dummy sitekeys and corresponding test secret keys. Cloudflare’s Turnstile testing documentation, last updated May 5, 2026, says: “Use dummy sitekeys and secret keys to test your Turnstile implementation without triggering real challenges that would interfere with automated testing suites.” The test credentials provide stable success, failure, invisible and interactive scenarios.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Keep test and production configuration separate

  • Store test keys only in test configuration and secrets management.
  • Use a test hostname or staging deployment where practical.
  • Never commit production secrets to a test repository or substitute test keys into production.
  • Assert the expected outcome for each documented test key instead of asserting that a real challenge was solved.

Validate the token on the server

The browser widget produces a token; that is only the client side of the integration. Your server must send the token to Cloudflare’s Siteverify endpoint with the secret key and validate the response. Cloudflare warns that a token can be invalid, expired or already redeemed. Skipping Siteverify leaves the integration incomplete, even when the widget appears to succeed in the browser.

A robust automated test therefore has two assertions: the expected widget outcome in the browser and the server’s Siteverify decision. Include tests for an expired token, a reused token and a missing token, not just the happy path.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Cloudflare error codes as a diagnostic branch

Use an error code to choose the next check, not as proof of a single root cause. Cloudflare’s current error-code guidance maps these examples as follows:

Code Documented indication Practical next check
110200 Unauthorized domain Check the widget’s allowed hostnames and the hostname used by the test page.
110600, 110620 Timeouts Check network stability, script loading and server response time; retry without an interfering extension.
200100 Clock or cache problems Correct the system clock and clear stale cached state before opening a clean session.
200500 Iframe load error Inspect blocked iframe or third-party script requests and content-security policies.
Generic 300* or 600* Bot behavior detected For a visitor, use a normal supported browser and stable IP; for QA, switch to test keys rather than retrying production challenges.

An occasional Private Access Token 401 is generally safe to ignore when the widget resolves and returns a valid token. Do not “fix” that log line by weakening security controls without evidence that token verification actually failed.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Why verification fails specifically in Playwright

Playwright is one of the frameworks Cloudflare names as unsupported for solving production challenges. A failure therefore cannot be repaired by a Cloudflare-approved Playwright flag. For an owned site, run Playwright against the staging configuration with Turnstile test keys, keep the test browser’s network stable, and verify the resulting token through your server’s Siteverify path. For a site you do not own, stop at collecting the error code and Ray ID.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your goal is an authorized screenshot rather than testing Cloudflare’s challenge itself, ScreenshotNeo can capture a page with one request. It is not a production-challenge solver; it is a website screenshot API and MCP server. Before capture, it accepts the cookie or consent banner like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets, with each cleanup step configurable. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

See the ScreenshotNeo documentation for parameters and authentication. cURL:

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo also provides an MCP server for Claude, Cursor and other MCP clients, with take_screenshot, get_page_info and capture_pdf tools. Every feature is on every plan: 1,000 shots per month are free with no card; paid plans start at $5 for 3,000 shots. Sign up for the free ScreenshotNeo plan if that fits your authorized capture workflow.

Performance, reliability and cost considerations

  • Do not measure production challenge pass rates. Cloudflare does not support automation frameworks for solving those challenges, so such a metric would describe an unsupported setup rather than a reliable integration.
  • Make QA deterministic. Turnstile test keys let a suite exercise known outcomes without depending on changing risk signals, IP reputation or third-party challenge timing.
  • Separate browser and server failures. A visible widget result does not replace Siteverify; log the server response and token age to identify expiry, reuse or transport errors.
  • Preserve diagnostics. Ray IDs, error codes, timestamps and unmodified HAR files give an administrator actionable evidence while avoiding repeated blind retries.

Frequently asked questions

Can I make headless Chrome pass a Cloudflare production challenge?

Cloudflare does not support Selenium, Puppeteer, Playwright or Cypress for solving production challenges. Use a normal supported browser for legitimate access, or Turnstile test keys for owned-site QA.

Is a Turnstile token valid just because the checkbox completed?

No. Your server must send each token to Siteverify and handle invalid, expired and already-redeemed responses.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Should I treat every HTTP 401 in the browser console as a failure?

No. A Private Access Token 401 can be expected and non-fatal when the widget completes and your server receives a valid token.

What should I send a site owner when verification loops?

Send the displayed error code and Ray ID, plus the browser version, approximate time and any console or HAR evidence the administrator requests.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.