This will automate sending messages to several contacts in WhatsApp using Python
Step 1: Install Selenium
$ pip3 install selenium
UPDATED: Steps 2, 3 & 4 no longer required
Step 2: Selenium requires a driver to interface with the chosen browser. Chrome FireFox safari
Step 3: Extract the downloaded driver onto a folder
Step 4: Set path variable to the environment. Paste this command to the terminal
$ export PATH=$PATH:/home/pathofthedriverfolder/
Eg: $ export PATH=$PATH:/home/situmorang/Download/WhatsappSend
Step 5: run whatsapp.py using Python3
$ python3 whatsapp.py