Hello ! Thank you for efforts , but i want to put some notes on this api
before anything the wiki must be updated and more detailed description must be added
Then this api is not an independent api , it depends on
-bs4
-setuptools
-selenium
-gecko web driver
So for beginners this will make headache to know that , so this might be deduced in the api
Then the api when look to find the "click to reload" it look for a full capital letter sentence when the sentence is just small and capital : "Click to reload QR code"
Then as i think their is some limitation about accessing global variable from the selenium proxy, we cannot access the Store
variable and each time we ran the code this is the log and the error occured:
bot started
Traceback (most recent call last):
File "Sample.py", line 8, in <module>
contacts = driver.view_unread();
File "/home/xxxxxxxx/python/whatsapp/WhatsAPI-master/webwhatsapp.py", line 156, in view_unread
Store = self.driver.execute_script(script)
File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b3-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 465, in execute_script
'args': converted_args})['value']
File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b3-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b3-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: TypeError: Store is undefined
I think something is changed in the web whatsapp integration and code since you wrote the code , also i think that this may be also a dependency issue
In conclusion hope you may review your wiki and code to provide a more stable api that can be used without problems, as of course some beginners will try to play with so it must be simpler and easier
Hope i was not hurting you by my notes , but really because i liked your work and i hope that it will be better i am written this issue
Hope we will hear it from you soon, and any help we are just ready .
Best regards !