From 7e0001523dd2641dbd4573b586f125c6357ddece Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Thu, 10 Aug 2023 10:55:14 +0200 Subject: [PATCH] correction when there is no recaptcha --- src/workers/CommandorPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index f6f54cf..f04e22e 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -530,11 +530,12 @@ class CommandorPage { if (hasCaptcha) { await this.resolveCaptcha(page) await delay(10 * 1000) + this.isFillingFields = false } else { + this.isFillingFields = false await delay(2 * 1000) await this.clickValid(); } - this.isFillingFields = false } }