Traceback (most recent call last):
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\Hp\Desktop\SideProjects\Python\whatssap broadcast\broadcast.py", line 37, in index
for id in driver.get_contacts() :
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\webwhatsapi__init__.py", line 284, in get_contacts
all_contacts = self.wapi_functions.getAllContacts()
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\webwhatsapi\wapi_js_wrapper.py", line 28, in __getattr__
wapi_functions = dir(self)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\webwhatsapi\wapi_js_wrapper.py", line 46, in __dir__
self.driver.execute_script(script.read())
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 635, in execute_script
'args': converted_args})['value']
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "C:\Users\Hp\Desktop\SIDEPR~1\Python\WHATSS~1\env\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: TypeError: document.querySelector(...)._reactRootContainer.current is undefined
Windows 10 pro
I think you鈥檙e using pip version. Install from this repository and try again.
okay
I am using Firefox 61.0.2 and python 3.6. Change the file WAPI.js, make install of GitHub and the error remains...
selenium.common.exceptions.JavascriptException: Message: TypeError: document.querySelector(...)._reactRootContainer.current is undefined
Yesterday the code was functioning normally, but today, when I started it again, the error was shown.
Most helpful comment
I am using Firefox 61.0.2 and python 3.6. Change the file WAPI.js, make install of GitHub and the error remains...
selenium.common.exceptions.JavascriptException: Message: TypeError: document.querySelector(...)._reactRootContainer.current is undefined
Yesterday the code was functioning normally, but today, when I started it again, the error was shown.