Closed darkash closed 3 years ago
Indeed, now its returning an array of promises, it didnt happen before.. I talked with the owner of the project and asked me to open an issue, please follow https://github.com/open-wa/wa-automate-nodejs/issues/2021
You guys are awesome... My workaround stop for working for a while yesterday and now it's working again :) any chance this fixes #76 ???
You guys are awesome... My workaround stop for working for a while yesterday and now it's working again :) any chance this fixes #76 ???
you can try, but let's just keep that discussion on that issue
Indeed, now its returning an array of promises, it didnt happen before.. I talked with the owner of the project and asked me to open an issue, please follow open-wa/wa-automate-nodejs#2021
I see, the issue got fixed over there, I will check once I had access to my laptop I will reopen when the issue still persists
Edit: it's confirmed to be fixed
I was trying to give an alternative to #76 by using this function to load the messages by chat room, but the function will raise an exception when there is/are unread message(s). Upon inspecting it further, the function
getUnreadMessagesInChat
in wapi.js is returning an array of promises and hence whenpyFunc
try resolve the promise, it does not resolve all the promise members (at least from my understanding) and selenium read it as an array empty objects causingfactory_message
to fail mapping it to python objects.The concept script in question
tagging @mrodal