guides · automation & testing

Cloudflare Turnstile integration guides

How to deal with a Turnstile widget when it is standing between your test suite and the thing you are trying to test.

Start with the test keys

If the site is yours, you almost never need a solver in CI. Cloudflare publishes dummy sitekeys that always pass, always fail, or force an interactive challenge. Point your staging environment at one and the widget stops being a problem.

Solving is for the cases the test keys cannot cover: a staging environment you do not control the Turnstile configuration for, a third-party sandbox, or synthetic monitoring that has to exercise the real production path.

Solve only against properties you own or are explicitly authorised to test. That boundary is in our Acceptable Use Policy and we enforce it.

Related

Automating a gate you own or are authorised to test?

// SolveGate clears Cloudflare Turnstile and WAF challenges through one REST call · first 1,000 solves free