From 4d0d3d4b09b99af528ddfae86b995a3f3e6604ab Mon Sep 17 00:00:00 2001 From: protokey Date: Thu, 10 Sep 2026 21:46:12 +0400 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=20=D0=B0=D0=B2?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_main.http | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/test_main.http b/tests/test_main.http index 538bdae..f31dbff 100644 --- a/tests/test_main.http +++ b/tests/test_main.http @@ -49,3 +49,22 @@ Cookie: session_id=b8f770a3-38c2-45f2-944b-2703798e3503; Path=/; SameSite=lax } ### +POST http://127.0.0.1:8000/v1/solve +Accept: application/json +Content-Type: application/json +X-API-Key: +Cookie: session_id=b8f770a3-38c2-45f2-944b-2703798e3503; Path=/; SameSite=lax + + +{ + "url": "http://127.0.0.1:8001/", + "proxy": "-", + "actions": [ + {"type": "fill", "selector": "#username", "value": "webrobo"}, + {"type": "fill", "selector": "#password", "value": "31337"}, + {"type": "click", "selector": "body > form:nth-child(1) > button:nth-child(7)"}, + {"type": "wait_for", "selector": ".user", "timeout": 30} + ] +} + +###