Scenarios
More than opening a page. Fill a form, click, move the mouse, wait for an element, grab a piece of HTML or text.
Free · demo key in the wiki
Robotex gets past anti-bot protection, runs a scenario on the page and hands your bot the cookies. From there the bot works with plain HTTP requests.
Every website bot sooner or later runs into one of three problems:
A spider built on raw HTTP requests is helpless here, you need a real browser. But a browser is heavy, it has to be hidden from detection and kept next to the bot. Robotex takes that job over: the browser is used only where there's no way around it.
More than opening a page. Fill a form, click, move the mouse, wait for an element, grab a piece of HTML or text.
Detects a Cloudflare check before and during a scenario and gets through it, Turnstile included. If it escalates to an image captcha, sends it to a recognition service.
The captcha step solves hCaptcha and other captchas via 2captcha before the form is submitted.
Cookies, local storage and the browser fingerprint live in one profile. Locale and timezone match the proxy’s geo. To the site it’s still the same user.
The browser can wait up to two hours for the next step. The next task runs in the same window, without restarting Chrome or passing the check again, right on the open page.
It’s a service, not a library. Your bot only needs an HTTP client, whatever it’s written in.
POST /v2/tasks. The task is queued, and the response carries a link to the result and a session_id cookie.done.session_id. If it asked to keep the window (browser_idle_timeout), the task runs there, even without a url. If not, Chrome starts with the same profile.POST /v1/solve works as before, synchronously.POST https://app.robotex.sokolab.xyz/v2/tasks
X-API-Key: <key>
{
"url": "https://example.com/login",
"actions": [
{"type": "fill", "selector": "#email", "value": "user@example.com"},
{"type": "fill", "selector": "#password", "value": "..."},
{"type": "click", "selector": "#submit"},
{"type": "wait_for", "selector": ".dashboard", "timeout": 30}
],
"proxy": "http://user:pass@host:port",
"browser_idle_timeout": 10
}
→ 202 {"task_id": "0b9c…", "status": "queued", "url": "/v2/tasks/0b9c…"}
{
"task_id": "0b9c…",
"status": "done",
"result": {
"status": "ok",
"user_agent": "Mozilla/5.0 (X11; Linux x86_64) ... Chrome/155.0.0.0 ...",
"cookies": [
{"name": "sessionid", "value": "...", "domain": ".example.com"}
],
"actions": [
{"type": "fill", "ok": true},
{"type": "fill", "ok": true},
{"type": "click", "ok": true},
{"type": "wait_for", "ok": true}
]
}
}
Under the hood
The browser used to live right inside the API, and once the slots ran out, a request got turned away. Now the API only takes tasks and returns results, while Chrome runs in separate workers behind a queue.
503/v1/solve runs on top of the same queue, existing clients change nothingA window can stay open for 0 to 120 idle minutes, and a scenario can run in it step by step: log in, hand control to the bot, come back and continue on the same page. Close it early with DELETE /v2/sessions/current.
X-API-Key header.Questions, ideas and bugs go to Redmine. No sign-up needed: the Robotex guest account credentials are in the welcome topic on the forum.