- Clone the github repository.
git clone https://github.com/gauravbasu6/whatsapp-bot.git
- Install Selenium package for python.
pip install selenium
- Install chromedriver for Google Chrome (geckodriver, if using Firefox)
Ensure, the driver is in PATH of your system. - Open the script.py file and make necessary changes.
(Explanatory comments are included)
There is a sleep timer of 15 seconds, in the script, to scan the QR code on web.whatsapp.com, when the script is run.time.sleep(15)
Increase it, if required.