reCAPTCHA Enterprise solver for Playwright Python
reCAPTCHA Enterprise scores every request, then your backend chooses whether to accept it. A Sonic-issued token consistently lands in the 0.7–0.9 confidence band so your business logic stays simple.
Runnable example
from playwright.async_api import async_playwright
from captchasonic import CaptchaSonic
async with async_playwright() as p:
browser = await p.chromium.launch()
page = await browser.new_page()
await page.goto('https://example.com/checkout')
sonic = CaptchaSonic('YOUR_API_KEY')
result = sonic.solve(
type='RecaptchaV3EnterpriseTaskProxyless',
website_url=page.url,
website_key='6Lc-...',
page_action='checkout',
enterprise_payload={'s': 'optional-session-token'},
min_score=0.7,
)
await page.evaluate(
'(t) => { document.querySelector("[name=g-recaptcha-response]").value = t }',
result.gRecaptchaResponse,
)
await page.click('form button[type=submit]')Replace YOUR_API_KEY with a real key from your dashboard. The token is good for one form submission.
FAQ
- What's the difference vs reCAPTCHA v3 standard?
- Enterprise adds the createAssessment server flow and accepts an Enterprise-specific payload (the "s" session token + extra context). Tokens validate against assessments.create instead of siteverify.
- Does the action parameter still bind the token?
- Yes — Enterprise enforces action binding the same way v3 does. The action in your createAssessment call must match the one Sonic embedded in the token.
- What score should I expect?
- Trailing-30-day average is 0.79 across action contexts. Sonic surfaces the score on the response so your backend can drop tokens below your business threshold without round-tripping to Google.
Other reCAPTCHA Enterprise stacks
- Cloudflare Turnstile · Playwright · PythonPass Cloudflare Turnstile from Playwright Python. Sonic returns the cf-turnstile-response token in under 7 seconds, ready to drop into the page.
- DataDome · Playwright · PythonSolve DataDome from a Playwright Python scraper. Sonic returns the validated datadome cookie ready to inject before navigation.
- hCaptcha · Playwright · PythonSolve hCaptcha from Playwright Python with a Sonic-issued token. Drop-in for both standard and Enterprise widgets.
How CaptchaSonic compares for this captcha
Feature-by-feature against the four most-mentioned alternatives. Independently benchmarked; numbers refresh quarterly.
| Feature | CaptchaSonic | 2Captcha | CapSolver | Anti-Captcha | CapMonster Cloud |
|---|---|---|---|---|---|
| AI / ML solver (no human relay) | |||||
| reCAPTCHA v2 / v3 / Enterprise | |||||
| Avg. solve time (reCAPTCHA v2) | < 3s | ~12s | ~8s | ~10s | ~7s |
| Success rate (trailing 30d) | 99.9% | ~95% | ~98% | ~95% | ~97% |
| Price per 1k — reCAPTCHA v2 | $0.80 | $2.99 | $0.90 | $2.00 | $1.00 |
| Proxy + proxyless modes | |||||
| Free trial credits | |||||
| SDK languages (Py, Node, Go, C#, Java, PHP) | 6 | 6 | 4 | 5 | 4 |
| Selenium / Puppeteer / Playwright examples | |||||
| Browser extension | |||||
| Webhook callbacks | |||||
| 99.9% uptime SLA |
Yes / No / Partial reflect publicly documented support. Pricing and solve-time figures snapshot the published rate at the time this page was last updated.
Related guides
- reCAPTCHA Solver
AI bypass for reCAPTCHA v2, v3 and Enterprise.
- hCaptcha Solver
Token solver for hCaptcha and hCaptcha Enterprise.
- API Docs
createTask, getTaskResult, getBalance — full reference.
- GeeTest v3 / v4
Slide, icon, space and gobang puzzles solved.
- MTCaptcha Solver
Token bypass for invisible and visible MTCaptcha.
- AWS WAF Captcha
AWS WAF token solver for the WAF-CAPTCHA challenge.