explaingit

clawdbrunner/captcha-solver

Analysis updated 2026-06-24

81PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

Python toolkit for browser automation that combines a stealth Chromium build, a Turnstile click helper, and paid 2Captcha or CapSolver fallbacks behind one StealthBrowser class.

Mindmap

mindmap
  root((captcha-solver))
    Inputs
      Target URL
      API keys
      Browser session
    Outputs
      Solved tokens
      Stealth browser session
      Navigation results
    Use Cases
      Authorized site scraping
      Account login automation
      Web app testing
    Tech Stack
      Python
      Chromium
      CloakBrowser
      2Captcha
      CapSolver
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Drive an automated browser through Cloudflare Turnstile checks using the stealth Chromium build.

USE CASE 2

Click through simple Turnstile checkboxes without paying a solving service.

USE CASE 3

Fall back to 2Captcha or CapSolver for reCAPTCHA, hCaptcha, FunCaptcha, GeeTest, DataDome, and other hard challenges.

USE CASE 4

Test your own web app's CAPTCHA flow end to end inside a Python script.

What is it built with?

PythonChromium2CaptchaCapSolver

How does it compare?

clawdbrunner/captcha-solverdexoravla/dexoraaqua5230/usage
Stars818182
LanguagePythonPythonPython
Setup difficultymoderatehardeasy
Complexity3/55/52/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Python 3.10+, the CloakBrowser package which downloads its own Chromium on first run, and at least one paid API key for hard challenges.

MIT license, very permissive, use freely with attribution.

In plain English

captcha-solver is a Python project for automated browsers that need to get through CAPTCHA challenges. It is meant for browser automation scripts, the kind that scrape websites, log into accounts, or test web apps. The README describes a three-layer approach: avoid the CAPTCHA when possible, click through it when it is a simple checkbox, and fall back to a paid solving service for anything harder. The first layer is a sibling project called CloakBrowser. The README claims it is a modified Chromium 146 build with 57 patches applied at the C++ source level, so that the browser looks like a real human session and avoids triggering most CAPTCHA challenges in the first place. The author reports a 0.9 reCAPTCHA v3 score and successful pass-through on Cloudflare Turnstile, with results listed for Google Search, Google Accounts, LinkedIn, Discord, and others. This layer is free. The second layer is ClickSolver, a small helper that finds a Turnstile checkbox inside an iframe and clicks it without calling any external API. The third layer is the paid fallback: the project plugs into 2Captcha and CapSolver, two commercial CAPTCHA-solving services, which between them handle over 30 challenge types including reCAPTCHA v2, v3, and Enterprise, hCaptcha, FunCaptcha, GeeTest, DataDome, Akamai, Imperva, MTCaptcha, and Amazon WAF. The README quotes a price of about $3 per 1000 solves and tabulates which service supports which CAPTCHA type. Usage is mostly a single Python class called StealthBrowser, which combines the cloaked browser, automatic detection, and automatic solving behind one navigate call. There are also command-line scripts for one-off solves when you already have a browser session and just need the token. Requirements are Python 3.10 or newer, the CloakBrowser package which downloads its own Chromium binary on first run, and at least one API key from 2Captcha or CapSolver. The license is MIT.

Copy-paste prompts

Prompt 1
Install clawdbrunner/captcha-solver, set a 2Captcha API key, and write a 20-line Python script that navigates to a Turnstile-protected page using StealthBrowser.
Prompt 2
Wire CapSolver into captcha-solver and add a fallback for reCAPTCHA v3 with a 0.9 score target on a site I am authorized to test.
Prompt 3
Compare the ClickSolver path versus 2Captcha for a Turnstile page and log which one was used per navigate call.
Prompt 4
Add a small wrapper around captcha-solver that retries with the paid service only when ClickSolver fails three times.
Prompt 5
Build a CLI on top of captcha-solver that takes a URL plus an API key and prints a solved token to stdout.

Frequently asked questions

What is captcha-solver?

Python toolkit for browser automation that combines a stealth Chromium build, a Turnstile click helper, and paid 2Captcha or CapSolver fallbacks behind one StealthBrowser class.

What language is captcha-solver written in?

Mainly Python. The stack also includes Python, Chromium, 2Captcha.

What license does captcha-solver use?

MIT license, very permissive, use freely with attribution.

How hard is captcha-solver to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is captcha-solver for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.