Python Script to send whatsapp message via chrome
To install dependencies type:
pip install -r requirements.txt
Type python3 script.py --help
for usage details
usage: script.py [-h] [-c COLUMN] [-d DELAY] [-s] [-e EXTENSION] [--screenshot SCREENSHOT] file [message]
positional arguments:
file Path to Excel file containing numbers to send message to
-h, --help show this help message and exit
-c COLUMN, --column COLUMN
Column name or number where numbers are located
-d DELAY, --delay DELAY
Time (in seconds) to wait after sending the message. Default = 4
-s, --string Treat message as string input
-e EXTENSION, --extension EXTENSION
Change default phone extention. Default is Indian: 91
--screenshot SCREENSHOT
Defines error screenshot folder