testdriver:captcha

Solve CAPTCHAs during automated UI tests via 2captcha token injection.

238|34|Updated Aug 25, 2024
One-click install
npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-captcha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testdriver:captcha
Source: https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver%3Acaptcha
Command: npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-captcha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captcha challenges block automated test execution and require manual intervention; this skill provides automated solving via 2captcha to keep tests flowing.

Core Features & Use Cases

  • Automatic captcha type detection and resolution using 2captcha.
  • Token injection back into the page to resume tests.
  • Supports reCAPTCHA v2/v3, hCaptcha, and Cloudflare Turnstile across Linux and Windows sandboxes.
  • Real-world use: integrate into end-to-end tests for checkout flows that encounter captchas to prevent test stalls.

Quick Start

Call testdriver.captcha with your TWOCAPTCHA_API_KEY to automatically solve captchas during a test.

Frequently Asked Questions about testdriver:captcha

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve captchas during automated e2e tests?

To solve captchas during automated e2e tests, you can use a service like 2captcha to automatically detect the captcha type, retrieve a solution, and inject the token back into the page to resume execution.

What captcha types does 2captcha support for qa-automation?

For qa-automation, 2captcha supports solving reCAPTCHA v2/v3, hCaptcha, and Cloudflare Turnstile challenges across both Linux and Windows sandboxes.

Do I need a 2captcha API key to bypass captchas in end-to-end UI test workflows?

Yes, you need a 2captcha API key to bypass captchas in end-to-end UI test workflows. You provide this key to initiate the automatic detection, retrieval, and token injection process.

Can I configure timeout and polling settings for captcha resolution in my test suite?

Yes, you can configure timeout and polling settings for captcha resolution in your test suite. You can also apply sitekey and captcha type overrides to handle specific scenarios.

Why does my automated checkout flow stall when it encounters a captcha?

Automated checkout flows stall when encountering a captcha because the challenge blocks automated test execution and requires manual intervention. Integrating an automated captcha solver keeps tests flowing.