The WhatsApp Messages Automation project automates the process of sending and managing WhatsApp messages using Selenium WebDriver. This tool is designed to handle repetitive messaging tasks.
-
Automated Messaging: Send personalized or pre-defined messages to multiple contacts or groups automatically.
-
Message Templates: Use customizable templates to streamline the messaging process for frequent or repetitive messages.
-
Error Handling: Includes mechanisms to handle errors ensuring reliability and stability.
-
User-Friendly Configuration.
- Selenium Chrome webdriver: For interaction with browser and whatsapp web.
- Python: For scripting and automation.
-
Clone the repository:
git clone https://github.com/SohanRaidev/WhatsApp-Messages-Automation
-
Navigate to the project directory:
cd Whatsapp-Messages-Automation
-
Install the required dependencies:
pip install -r requirements.txt
-
Adjust the script parameters as needed: Refer USAGE section below.
-
Run the script:
python whatsapp_msg_automation.py
-
= Initially when running the code is configured to message a bunch of invisible character to the selected person or a group.
= You can customize the script to send your own messages by modifying the
sentences
list. For example:sentences = [ "Hi", "Hello", "Your'e Amazing", "WOW Nice Code"]
=
sentences = [ "Hi", "Hello", "Your'e Amazing", "WOW Nice Code"]
: In this example, the script will send 4 messages. You can increase or decrease the number of messages by adding or removing items in the sentences list.= You can further add a time delay after each message sent by uncommenting the time.sleep in line 35 of the code.
Contributions to enhance functionality, add new features, or fix bugs are welcome! Please follow the contribution guidelines:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.