Skip to content

Have you ever wished to automatically wish your friends on their birthdays, or send a set of messages to your friend ( or any Whastapp contact! ) automatically at a pre-set time, or send your friends by sending thousands of random text on whatsapp! Using Browser Automation you can do all of it and much more!

Notifications You must be signed in to change notification settings

imbalram/whatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

whatsapp Automation with python and selenium

Whatsapp using Python! Last Updated: 16-07-2020 Have you ever wished to automatically wish your friends on their birthdays, or send a set of messages to your friend ( or any Whastapp contact! ) automatically at a pre-set time, or send your friends by sending thousands of random text on whatsapp! Using Browser Automation you can do all of it and much more!
First you must install these:-
1) Python Bindings for Selenium ( Browser Automation software )
pip install selenium
2) Chrome webdriver
Download Chrome driver from here: Chromedriver download page( choose your specific version )
Extract it in a known location , as we need the location later
If you get stuck somewhere, Don't forget to ping me
3) Chromium Web Browser( Open source version of chrome browser )
sudo apt-get install chromium-browser
That’s it! You are all set.

Now write your code in python in your idle/notebook which is give above.
Keep your mobile phone with you. Choose whatsapp web from the top bar in whatsapp(3 dots)
Screenshot2
Then Run the script ( make sure that you have added the absolute path for chromedriver and have replaced target variable with your friends name ). Scan the QR code that appears on the screen and enjoy the power of python!
Screenshot2
Please use this script only for educational purposes, i am not responsible if your friends ( or even Whatsapp ) block you.
Feel free to modify the code. Try to :
1)Text Multiple Groups at once
2)Send the messages from a predefined list of messages randomly or
3)Send complete random text.
Comment below about your experience!

About

Have you ever wished to automatically wish your friends on their birthdays, or send a set of messages to your friend ( or any Whastapp contact! ) automatically at a pre-set time, or send your friends by sending thousands of random text on whatsapp! Using Browser Automation you can do all of it and much more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published