You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is possibly an error in your code, it could be in the Puppeteer configuration.
You can call the functions directly through the browser console and test them.
In a simple way: open the project through VSCode -> Run -> Start Debugging, it will open an instance of chrome, you can directly call the function in the console.
Something like:
await WPP.chat.getMessageById('messageId');
You can see that it continues to function normally.
Well, did you do that and did it work? We have to check your code, but there is a problem in Puppeteer, an issue already known and discussed by them, which brings undefined returns, in the WppConnect LIB it is treated like this: JSON.parse(JSON.stringify(result));
Description
[Description of the bug, When Issue Happens]
Environment
1,WPP.chat.getMessages
got undefined
2,WPP.chat.getMessageById
got undefined
The text was updated successfully, but these errors were encountered: