Today when we try to use is_connected function, we encounter this error
Traceback (most recent call last):
File "myscript.py", line 2, in <module>
from functions import *
File "/var/www/html/xxxxx/v3/functions.py", line 57, in <module>
if driver.is_connected() == False:
File "/var/www/html/xxxxx/v3/webwhatsapi/__init__.py", line 315, in is_connected
return self.wapi_functions.isConnected()
File "/var/www/html/xxxxx/v3/webwhatsapi/wapi_js_wrapper.py", line 44, in __getattr__
wapi_functions = dir(self)
File "/var/www/html/xxxxx/v3/webwhatsapi/wapi_js_wrapper.py", line 72, in __dir__
self.driver.execute_script(script.read())
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script
'args': converted_args})['value']
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: TypeError: module.default.toString is not a function
What the problem? Is this function implementation has been changed ? Or this function has been removed ?
Hello,
Today when we try to use
is_connected
function, we encounter this errorWhat the problem? Is this function implementation has been changed ? Or this function has been removed ?
Thanks in advance for any regards !