Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BerattCelikk/Whatsapp_Bot_with_Selenium

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 

Repository files navigation

💬 ConnectX: WhatsApp Automation Engine

A High-Performance Selenium-Based Framework for Intelligent Messaging & Automated Engagement


Overview Key Features Tech Stack Architecture Installation Contact


Python Version Selenium Automation Codiom License: MIT

Accelerating digital communication through precision browser automation and intelligent message routing.


📖 Project Overview

The ConnectX Engine is a sophisticated automation tool designed to streamline bulk messaging and real-time interactions on the WhatsApp Web platform. Developed as a core communication asset within the Codiom initiative, this project utilizes Selenium to manage complex browser-level events and dynamic DOM interactions.

As a Software Engineering student at Istanbul Aydın University, I architected this system to address the challenges of high-volume messaging, focusing on anti-detection patterns and high-reliability delivery protocols.


✨ Key Features

  • ⚡ Automated Message Dispatch: Programmatic sending of text and media to targeted contact lists.
  • 📂 Bulk Contact Management: Efficient handling of large-scale contact datasets for organized outreach.
  • 🛠️ Stealth Interaction Logic: Integrated randomized wait-sequences to mimic human typing and browsing behavior, minimizing account risk.
  • 📱 Headless Operations: Full support for headless browser execution for server-side automation tasks.
  • 💾 Telemetry & Logging: Automated auditing of message status, delivery times, and execution logs.

🛠️ Tech Stack

Category Technology Usage
Development Python 3.9+ Core logic and automation orchestration.
Automation Selenium Webdriver Direct browser interaction and element manipulation.
Data Handling Pandas / CSV Managing recipient lists and historical logs.
Connectivity ChromeOptions Configuring user profiles and anti-detection settings.
Version Control Git / GitHub Management of source code and architectural revisions.

🏗️ Technical Architecture

The engine follows an Event-Driven Automation pattern, ensuring that each messaging task is validated before execution.

Strategic Delay Logic

To maintain account integrity and avoid spam filters, the engine calculates adaptive delay intervals: $$T_{delay} = \mu_{base} + \text{rand}(0, \sigma)$$ This ensures that the interval between messages remains non-deterministic, effectively bypassing basic automation triggers.


📂 Project Structure

.
├── 📄 main.py               # Application gateway and messaging loop
├── 📄 config.py             # Global settings and wait-time parameters
├── 📁 core/
│   ├── driver_manager.py    # Selenium initialization and profile handling
│   └── whatsapp_logic.py    # Specialized functions for message delivery
├── 📁 contacts/             # Targeted recipient datasets (.csv)
├── 📁 logs/                 # Detailed delivery and system audits
├── 📄 requirements.txt      # Dependency manifest
└── 📄 README.md             # Documentation Hub

🚀 Getting Started

1. Prerequisites

Ensure you have a modern Chrome browser and the corresponding ChromeDriver installed and added to your system path.

2. Installation

# Clone the repository
git clone [https://github.com/BerattCelikk/Whatsapp_Bot_with_Selenium.git](https://github.com/BerattCelikk/Whatsapp_Bot_with_Selenium.git)
cd Whatsapp_Bot_with_Selenium

# Initialize virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

3. Setup

Update the contacts/ directory with your recipient list and configure your message template in main.py.

4. Execution

python main.py

🗺️ Roadmap

  • AI-Driven Responses: Integrating LLMs (GPT-4) to handle automated incoming replies.
  • Media Automation: Support for sending images, PDFs, and voice notes programmatically.
  • Scheduling Engine: A robust cron-based scheduler for time-optimized message delivery.
  • Multi-Session Support: Managing multiple WhatsApp profiles simultaneously for high-scale operations.

Architected with precision by Berat Erol Çelik Founder of Codiom

Software Engineering @ Istanbul Aydın University

About

An automated browser interaction tool for WhatsApp, implemented using Selenium WebDriver. Demonstrating browser automation, element manipulation, and workflow scripting for messaging tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.