We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1eb76 commit 9e42f1eCopy full SHA for 9e42f1e
1 file changed
src/Client.js
@@ -337,17 +337,6 @@ class Client extends EventEmitter {
337
await page.evaluateOnNewDocument(this.options.evalOnNewDoc);
338
}
339
340
- // ocVersion (isOfficialClient patch)
341
- await page.evaluateOnNewDocument(() => {
342
- window.originalError = Error;
343
- //eslint-disable-next-line no-global-assign
344
- Error = ((message) => {
345
- const error = new window.originalError(message);
346
- error.stack = error.stack + '\n at https://web.whatsapp.com/vendors~lazy_loaded_low_priority_components.05e98054dbd60f980427.js:2:44';
347
- return error;
348
- }).bind(Error);
349
- });
350
-
351
await page.goto(WhatsWebURL, {
352
waitUntil: 'load',
353
timeout: 0,
0 commit comments