From 152f0a64cdffdfb4d638043f537f87b2a6ebc492 Mon Sep 17 00:00:00 2001 From: Humberto Zambrano Date: Thu, 14 Sep 2023 09:02:40 -0500 Subject: [PATCH] Update Client.js in order to detect login in new WhatsAppWeb (#2474) * Update Client.js New WhatsAppWeb selector for login sucess * change to search --------- Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com> --- src/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.js b/src/Client.js index e5806a9..bc6fe4b 100644 --- a/src/Client.js +++ b/src/Client.js @@ -172,7 +172,7 @@ class Client extends EventEmitter { } ); - const INTRO_IMG_SELECTOR = '[data-icon=\'chat\']'; + const INTRO_IMG_SELECTOR = '[data-icon=\'search\']'; const INTRO_QRCODE_SELECTOR = 'div[data-ref] canvas'; // Checks which selector appears first