Author: Abdulaziz Hussein
Interview Task Submission β AI Synergy Team
This automation script logs into a social media platform (LinkedIn), navigates to group or connection suggestions, and automatically clicks relevant buttons like:
- β "Join Group"
- β "Add"
- β "Connect"
- β "Follow"
Supports scrolling and dynamic loading, and mimics human behavior to avoid detection.
- Python 3.10+
- Selenium (for browser control)
- undetected-chromedriver (for stealth)
- Automatic login (secure, no password storage)
This automation script logs into LinkedIn, navigates to suggestions (groups, people, profiles), and automatically clicks relevant buttons like:
- β "Join Group"
- β "Connect"
- β "Follow"
| Feature | Description |
|---|---|
| π Auto Login Flow | Login securely by providing your email and password in code |
| π Smart Button Detection | Matches button text against keywords like "Join", "Follow" |
| β± Human-like Behavior | Random delays between actions to avoid detection |
| π Logs & Limits | Logs number of buttons clicked, limits max per session |
| π§ Auto Scroll | Scrolls to load more dynamic content |
| π© Stealth Mode | Hides navigator.webdriver, spoofs user-agent, disables automation flags |
- Clone the repo:
git clone https://github.com/your-username/auto-join-bot.git
cd auto-join-bot
## How to run
1. Install requirements:
`pip install selenium undetected-chromedriver`
2. Run the bot:
`python main.py`
3. Log in by providing your credentials when prompted and then let it run!
- N/B - After providing your credentials at the terminal go to webpage
- then go back to terminal and choose action
## Developer Notes
- You can adjust click limits and keywords in `config.py`
- Stealth - navigator.webdriver // should be undefined or false
- Use a test account to avoid any platform bans