Kalebu / alright

Python wrapper for WhatsApp web-based on selenium
https://www.youtube.com/watch?v=yitQTt-NukM
MIT License
368 stars 110 forks source link

Chrome closes before sending message #113

Closed Abdullah-Alkayyali closed 1 year ago

Abdullah-Alkayyali commented 1 year ago

When trying to send a message it opens whatsapp web on chrome, types out the message and closes before actually sending the message. Anyone know why this is happening?

`from alright import WhatsApp

messenger = WhatsApp() messenger.find_user('1234') message = 'test'

messenger.send_message(message)`

math-milan commented 1 year ago

hello just one mor line containing messenger.close_when_message_successfully_sent() with this line the browser close only after the mesage has ben sent out