captcha Scenario 1 — Solve reCAPTCHA v2 via 2Captcha
Written by RTILA X Engineering Team
Beginner ~4 min
What You'll Learn
Configure captcha solving via 2Captcha
Real-World Use Case
Automating sites protected by reCAPTCHA
LIVE DEMO
reCAPTCHA Challenge
Solve the checkbox challenge, submit the form, and unlock the protected data.
EXPECTED OUTPUT
Protected Data
| field | value |
|---|---|
| Order ID | ORD-8821 |
| customer@example.com | |
| Plan | Enterprise |
| Status | Active |
| Last Login | 2025-03-15 |
RTILA X PROJECT JSON
RTILA X Automation Project
solve-recaptcha-v2.json
{
"name": "Solve_reCAPTCHA_v2",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/captcha/1"
],
"captchaEnabled": true,
"captchaProvider": "2captcha",
"captchaApiKey": "demo-key"
},
"datasets": {
"protected_data": {
"item_selector": "css=table.protected-data tr",
"properties": [
{
"name": "field",
"type": "text",
"selector": "css=td:nth-child(1)"
},
{
"name": "value",
"type": "text",
"selector": "css=td:nth-child(2)"
}
]
}
},
"commands": [
{
"command": "click",
"params": {
"selector": "css=.captcha-checkbox"
}
},
{
"command": "click",
"params": {
"selector": "css=#recaptcha-submit"
}
},
{
"command": "wait_for_selector",
"params": {
"selector": "css=.recaptcha-success"
}
},
{
"command": "extract_data",
"params": {
"dataset": "protected_data"
}
}
]
} reCAPTCHA solving is configured through captchaEnabled, captchaProvider, and captchaApiKey. The automation clicks the CAPTCHA checkbox, waits for success, and extracts the protected data.
Did you complete this scenario?
Ready to run this automation?
Copy the project JSON above, open RTILA X, create a new project, and paste it.
This scenario covers 1 RTILA X command and is referenced in 2 learning articles.
Continue Learning
Was this helpful?
Thank you for your feedback!