Kalebu / alright

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

Fixes for firefox #99

Closed mukund109 closed 1 year ago

mukund109 commented 1 year ago

I'm using firefox and don't have the chrome driver installed. This throws a ModuleNotFound error at this line

from webdriver_manager.chrome import ChromeDriverManager

I've fixed it by only having this line execute when a custom driver is not provided.

Also, when doing messenger.send_message on Firefox, only 1 character was being sent. Resolved this by chaining the send_keys and Shift+Enter operations.

euriconicacio commented 1 year ago

@mukund109, please, follow the guidelines provided by @Kalebu. Feel free to PR the updated version whenever possible. For now, this one is closed due to the lack of activity.