A WhatsApp Web automation bot built using Node.js and Playwright for browser control and scripted interactions.
This project demonstrates browser automation, session handling, and event-driven messaging workflows using modern automation tooling.
- Automates WhatsApp Web using Playwright
- Programmatically sends messages
- Handles session persistence
- Demonstrates asynchronous control flows
- Structured automation logic for extensibility
This project showcases:
- Modern browser automation with Playwright
- Node.js asynchronous programming patterns
- DOM interaction and event-based scripting
- Automation workflow design
It serves as a template for building messaging bots or automation scripts over web-based platforms.
- Node.js
- Playwright
- JavaScript (ES6+)
-
Clone the repository
git clone https://github.com/PaneruVipin/whatsapp_bot.git
cd whatsapp_bot -
Install dependencies
npm install
-
Run the bot
node index.js
Make sure Playwright browsers are installed.
- bot logic
- automation handlers
- configuration files
- Browser automation using Playwright
- Handling authentication sessions
- Managing asynchronous control flow
- Structuring automation projects cleanly