mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-14 02:15:18 +00:00
Update Auto-Farm.js
This commit is contained in:
1 parent
1f3d72f92f
commit
7d4847b069
1 file changed
+3
-3
+3
-3
@@ -161,9 +161,9 @@
|
||||
: '❌ CAPTCHA token expired. Waiting for Paint button...',
|
||||
'error'
|
||||
);
|
||||
// Click the Paint div to trigger CAPTCHA
|
||||
const paintDiv = await waitForSelector('div.flex.items-center.gap-2');
|
||||
if (paintDiv) paintDiv.click();
|
||||
// Click the main Paint button to trigger CAPTCHA
|
||||
const mainPaintBtn = await waitForSelector('button.btn.btn-primary.btn-lg, button.btn-primary.sm\\:btn-xl');
|
||||
if (mainPaintBtn) mainPaintBtn.click();
|
||||
await sleep(500);
|
||||
// Click transparent color button
|
||||
updateUI(
|
||||
|
||||
Reference in new issue
Block a user