An automated script to send human-like messages on your WhatsApp Web Client.
- Platform: Windows x64
- Packages: Selenium, time, random
In the sendMessage.py
script, make the following changes:
- Line Number 16:
target = 'Contact Name' #Replace with your target's name.
- Line Number 37:
# Enter your long message here. multiline_msg = '''Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'''
Note: This program was made in PyCharm.
- Click on run program. (green play button)
- Wait for the Chromium instance to open.
- Scan the QR code with WhatsApp. a. Open WhatsApp > Click on Three Dots. b. Select WhatsApp Web. c. Scan QR Code or click on + sign on top right.
- Watch the script do its magic!
You can download the latest Chromimum Webdriver here.
Replace this file with the chromedriver.exe
to update your web driver.