You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/scripts.md
+68-4Lines changed: 68 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ nav_order: 5
7
7
8
8
# scrape_test / sbr_test Scripts
9
9
10
-
`scrape_test` and `sbr_test` are two internal scripts used to stress-test and improve the CAPTCHA solver by mass-collecting image data when SR is low.
10
+
`scrape_test` and `sbr_test` are two internal scripts, which are used to stress-test and improve the CAPTCHA solver by mass-collecting image data when SR is low.
11
11
12
12
---
13
13
@@ -17,10 +17,9 @@ This is a straightforward tool designed to "hammer" a site with requests to trig
17
17
18
18
**When to Use**: CAPTCHA appears immediately on URL.
19
19
20
-
### Function
21
-
It allows for high-volume automated requests without complex user logic.
20
+
1.**Function:** It allows for high-volume automated requests without complex user logic.
22
21
23
-
### Workflow
22
+
2.**Workflow:**
24
23
25
24
**Step 1**: Download a list of target URLs (e.g., product pages).
3.**Best Practice:** It’s recommended to use randomized URLs rather than hitting the same page repeatedly to avoid being blocked by the target site’s server.
37
+
38
+
4.**CAPTCHA Integration:** If the inhouse_solver rules are configured with the correct Selectors for that site, `scrape_test` will automatically trigger a CAPTCHA solve and save the images to the dashboard.
39
+
40
+
---
41
+
42
+
## 2. sbr_test (The Scenario Solver):
43
+
44
+
This is a more functional tool that executes a complex, step-by-step user scenario to reach a CAPTCHA.
45
+
46
+
**When to Use:** CAPTCHA appears after form/click.
47
+
48
+
1.**Function:** Unlike the request-only `scrape_test`, this script can fill out forms, click buttons, and navigate deep into a site.
2.**Technology:** It supports various automation frameworks like Puppeteer, Playwright, and Selenium.
55
+
56
+
3.**Workflow:** It follows a predefined "scenario" file provided by the support or development teams. For example, a script might navigate to a checkout page and only then attempt to solve the CAPTCHA that appears.
0 commit comments