-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WA web got hanged up #18
Comments
@frozenade If you still face the issue please let me know. |
my both Chrome and Selenium driver are the latest version. |
@frozenade could you please send me the code which you are using. |
I just run your code. I didn't modify the code at all. |
@frozenade I seriously believe you are directly running whatsapp.py something like this, python whatsapp.py You should create a new file and get the object of WhatsApp class so that you can actually utilize the API. For example, Let us create a file named group.py in the same directory where whatsapp.py and chromedriver is located with the following code, # SWAMI KARUPPASWAMI THUNNAI
from whatsapp import WhatsApp
app = WhatsApp(10)
app.override_timeout(30)
app.join_group("https://chat.whatsapp.com/4AIA2B3GuLp4RJOKF0M8zY")
app.send_blind_message("I am in :)") Then run, |
Ah yes. Finally it's works. But another error message comes:
|
The only thing which you have do manually is to scan the QR code 10 in the constructor specifies that the API will wait for 10 seconds to scan for the code. app = WhatsApp(10) Specify something like 1000 to prevent this exception like this, app = WhatsApp(1000) So finally, test the whole code: # SWAMI KARUPPASWAMI THUNNAI
from whatsapp import WhatsApp
app = WhatsApp(1000)
app.override_timeout(30)
app.join_group("https://chat.whatsapp.com/4AIA2B3GuLp4RJOKF0M8zY")
app.send_blind_message("I am in :)") |
Thanks but I still got error message:
Is it normal? |
It runs and just shows 'data:;' at Chrome's addressbar.
Please help
The text was updated successfully, but these errors were encountered: