When trying to receive any data after login I get the following error:
Exception has occurred: JavascriptException
Message: TypeError: document.querySelector(...)._reactRootContainer.current is undefined
File "C:\Users\...\whatsapp.py", line 63, in getMessages
for contact in self.driver.get_unread():
File "C:\Users\...\whatsapp.py", line 71, in <module>
wa.getMessages()
When trying to receive any data after login I get the following error:
The code I am trying:
Using the pip version