A Python-based selenium automation bot that sends as many messages as you like with a single click! All you gotta do is follow the Steps to use and the bot will do its magic
Warning: This is a prototype and will have bugs - Eg. When the browser takes too much time for the web version to load, the clickable component takes time to load after the button loads, causing the script to crash You have been warned.
1. Add a source.csv file containing the rows in *phno, msg* format.
2. Run python testautomate.py
3. Scan whatsapp barcode
4. Wait for the script to send the message to each of the number
- Does this need the scan part for sure?
Yea - Can it send to unsaved numbers?
No, since whatsapp discontinued that feature via whatsapp web. You can save the contacts using contacts.google.com then sync whatsapp contacts and send the messages but do it at your own risk since this project is in no way related to the google contacts feature. - If condition in the looping?
Well, the intended purpose required that simultaneous cells having messages that needs to be formatted and sent to a single number and for that matter, the feature is set. Feel free to play around and change that part. - How to add head and foot?
The first row in the sheet needs to be head, foot before extracting to csv.
Enjoy the script and raise any issues if you find any bug or improvement for the automation