mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.04k stars 795 forks source link

javascript error: circular reference #1177

Open sushilkumar10 opened 1 year ago

sushilkumar10 commented 1 year ago

Whatsapp Robot Waiting for QR Whatsapp Robot started Whatsapp Server is Running checking for more messages Checking for more messages Traceback (most recent call last): File "D:\xampp\htdocs\whatsapp\Whatsapp.py", line 39, in for contact in driver.get_unread(): File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\webwhatsapi__init.py", line 323, in get_unread raw_message_groups = self.wapi_functions.getUnreadMessages(include_me, include_notifications) File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\iten\wapi_js_wrapper.py", line 28, in getattr__ wapi_functions = dir(self) File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\iten\wapi_js_wrapper.py", line 48, in dir result = self.driver.execute_script("return window.WAPI") File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 884, in execute_script return self.execute(command, { File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute self.error_handler.check_response(response) File "C:\Users\sushil\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.JavascriptException: Message: javascript error: circular reference (Session info: chrome=109.0.5414.120)

sushilkumar10 commented 1 year ago

how resolve it