This python program will read the names of contacts availabe in 'contacts.csv' file and send a particular msg to all
- Install openpyxl library(used to read and write file from or to .csv file) :
$ pip install openpyxl
- Install selenium ( tool used for automation) :
$ pip install selenium
- Update chrome to latest version
- Download chrome webdriver
- Firstly update the contact list of 'contacts.csv' file ( the contact name should be same as it is saved in mobile)
- Update the msg variable with your new msg availabe in 'WhatsApp.py' file
- Run WhatsApp.py
$ python WhatsApp.py
- Wait till the whatsapp web page opens.
- Now scan the code shown at the page using whatsapp installed in mobile.
- Once the whatsapp web page is loaded compeletely, scroll down the contacts list area until you reached to the last contact you want to send msg and it will automatically send the msg to all the contacts available in the 'contacts.csv' file