From 9e42f1e0c393b7e2652f3698e0cac9eab237392e Mon Sep 17 00:00:00 2001 From: BenyFilho <168232825+BenyFilho@users.noreply.github.com> Date: Wed, 18 Feb 2026 04:03:01 -0300 Subject: [PATCH] Fix: Frozen WhatsApp Start or Auth Timeout (#127048) --- src/Client.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Client.js b/src/Client.js index 9ee8046..def3d2e 100644 --- a/src/Client.js +++ b/src/Client.js @@ -337,17 +337,6 @@ class Client extends EventEmitter { await page.evaluateOnNewDocument(this.options.evalOnNewDoc); } - // ocVersion (isOfficialClient patch) - await page.evaluateOnNewDocument(() => { - window.originalError = Error; - //eslint-disable-next-line no-global-assign - Error = ((message) => { - const error = new window.originalError(message); - error.stack = error.stack + '\n at https://web.whatsapp.com/vendors~lazy_loaded_low_priority_components.05e98054dbd60f980427.js:2:44'; - return error; - }).bind(Error); - }); - await page.goto(WhatsWebURL, { waitUntil: 'load', timeout: 0,