Captcha solving
Camoufox and Camouwolf make the browser hard to fingerprint as automated. They don't solve a captcha that is already on the screen. For that, use CaptchaKraken, an open-source captcha solver. Pass it a page and it finds the captcha, reads it with a vision model, and clicks, drags or types until the captcha gives a token.
captchakraken.com GitHub CaptchaKraken docs
- What it solves: reCAPTCHA image grids (3×3, 4×4, dynamic), GeeTest, DingXiang, NetEase Yidun, Tencent, HUMAN press-and-hold, and many one-off drag and click puzzles. FunCaptcha is a work in progress. Checkbox reCAPTCHA and Cloudflare Turnstile are handled locally, with no model call. Live clips and success rates are on captchakraken.com and in the README.
- Open source: the client (npm and PyPI
captchakraken) and the V2 models (Hugging Face) are LGPL-3.0. - Hosted or self-hosted: use the hosted API (no GPU needed, pay as you go), or run the open models yourself on an 8 GB NVIDIA GPU. Either way, your code is the same.
Use it with Camoufox today
CaptchaKraken takes any Playwright page, and a Camoufox or Camouwolf page is a Playwright page. Install the solver next to your browser package:
pip install captchakraken # Python 3.11+
npm install captchakraken # TypeScriptfrom camoufox.sync_api import Camoufox
from captchakraken import PageSolver
with Camoufox(headless=False) as browser:
page = browser.new_page()
page.goto("https://www.google.com/recaptcha/api2/demo")
result = PageSolver().solve(page) # detect → solve → click → verify
print(result.is_solved)from camoufox.async_api import AsyncCamoufox
from captchakraken import AsyncPageSolver
async with AsyncCamoufox(headless=False) as browser:
page = await browser.new_page()
await page.goto("https://www.google.com/recaptcha/api2/demo")
result = await AsyncPageSolver().solve(page)
print(result.is_solved)PageSolver takes a sync page and AsyncPageSolver an async one. If you give an async page to
PageSolver, it raises a TypeError.
import { Camoufox } from 'camoufox';
import { CaptchaKrakenSolver } from 'captchakraken';
const browser = await Camoufox({ headless: false });
const page = await browser.newPage();
await page.goto('https://www.google.com/recaptcha/api2/demo');
await new CaptchaKrakenSolver().solve(page); // detect → solve → click → verify
await browser.close();Camouwolf works the same way: launch it with from camouwolf.sync_api import Camouwolf and pass its page to the solver.
Watchers that solve captchas as they appear, custom selectors, mobile and touch input, and the CLI are covered in CaptchaKraken's usage guide.
Hosted API or your own GPU
The solver gets its endpoint and key from VLLM_BASE_URL and CAPTCHA_KRAKEN_API_KEY, or from
~/.captchakraken/credentials when those variables aren't set.
Sign in with GitHub at captchakraken.com (no card needed), create a key, and set:
export CAPTCHA_KRAKEN_API_KEY=ck_live_…
export VLLM_BASE_URL=https://api.captchakraken.com/v1From Claude Code, the MCP server can do the sign-in and key creation for you:
claude mcp add captchakraken -- npx -y captchakraken-mcp # then: sign_in, create_api_keyYou pay per response, with no subscription. Checkbox and Turnstile solves are free. Current prices are on captchakraken.com, and the API is described in the hosted API docs.
npx captchakraken fetchThis downloads an open model and runs it locally. It needs an 8 GB NVIDIA GPU and no environment variables, and no captcha leaves your machine. See self-hosting.
With Pro
In Pro, your Camoufox key also covers captcha solving, and solves are paid from the Pro wallet. Point the same CaptchaKraken client at the lease's endpoint: see Pro setup → Captcha solving.
Coming soon: built into Camoufox
Coming soon
This integration is being built and has not been released. The names below may change before it ships.
Captcha solving will come as an optional extra of the launcher, so you won't need to wire up the solver yourself:
pip install "camoufox[captcha]"from camoufox.sync_api import Camoufox
from camoufox.captcha import solve_captcha
with Camoufox(headless=False, captcha={"token": "ck_live_…"}) as browser:
page = browser.new_page()
page.goto("https://example.com/protected")
if solve_captcha(page).is_solved:
...- Optional: Camoufox won't depend on the solver, and it isn't loaded until you call it.
- Set at launch: pass a hosted key or your own server's URL as
captcha=. If you don't, theCAPTCHA_KRAKEN_API_KEYandVLLM_BASE_URLvariables still apply. - Solves or watches:
solve_captcha(page)solves the captcha on the page now.watch_captcha(page)keeps solving captchas as they appear. - Same in TypeScript:
solveCaptcha(page)fromcamoufox, withcaptchakrakenas an optional peer dependency.
To hear when it ships, follow CaptchaKraken on GitHub or join the waitlist.