Skip to content

This is a simple Web WhatsApp Bot developed in python using Selenium. Helpful to send messages to whatsapp contacts automatically using web.whatsapp.com and web automation.

Notifications You must be signed in to change notification settings

rahulgrover99/whatsAppBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whats App Bot

This is a simple Web WhatsApp Bot developed in python using Selenium. Selenium is used mainly for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well.

Features!

  • Send a specific message to a particular contact at any time of the day
  • One can send a single message to multiple contacts over a specific time
  • Multiple messages to multiple contacts
  • It offers a delay so that WhatsApp can detect your are sending a URL and show its pop-up description.
  • It can search a contact from the list if the contact isn't present in the recent chats
  • Change the message along with time in the mainBot.py
  • You can add multiple messages
  • The Script can also search for the contact in the new chat list and then send message if the contact is not found in the recent chat list.

Requirements

Installation

Step 1: Install Selenium

$ pip3 install selenium

Step 2: Selenium requires a driver to interface with the chosen browser.

Click for Chrome
Click for FireFox
Click for 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/path/to/the/driver/folder/
Eg: $ export PATH=$PATH:/home/rahul/Desktop/whatsAppBot

Step 5: run mainBot.py using Python3

$ python3 mainBot.py

About

This is a simple Web WhatsApp Bot developed in python using Selenium. Helpful to send messages to whatsapp contacts automatically using web.whatsapp.com and web automation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published