Update Auto-Farm.js

This commit is contained in:
jamz-uk authored and GitHub committed 2025-08-13 17:40:05 +01:00
1 parent 1f3d72f92f
commit 7d4847b069
1 file changed
+3 -3
+3 -3
View File
@@ -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(