From 7d4847b069bf878241e284ae099e95e9365960c2 Mon Sep 17 00:00:00 2001 From: jamz-uk <222520099+jamz-uk@users.noreply.github.com> Date: Wed, 13 Aug 2025 17:40:05 +0100 Subject: [PATCH] Update Auto-Farm.js --- Auto-Farm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Auto-Farm.js b/Auto-Farm.js index 030f44b..ca41928 100644 --- a/Auto-Farm.js +++ b/Auto-Farm.js @@ -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(