How kayden-vs/simplilearn_autowatch works
Project type and purpose
• This is a standalone Python automation tool (open-source script) called “Simplilearn AutoWatch.”
• Its sole function is to drive a browser via Selenium WebDriver to automatically log in and “watch” course videos on the Simplilearn platform.
File structure
• Top-level files only:
• video-bot.py – the main automation script
• requirements.txt – lists dependencies (e.g., selenium)
• README.md, LICENSE, .gitignore – project metadata
• No multi-tier frontend/backend directories; it’s a single-process client automation.
README for additional insights
• Dependencies: Python 3.7+, Chrome browser, ChromeDriver
• High-level flow: login → click “Continue Watching” → monitor progress
Main components and interactions
a. Components
• Automation Bot (video-bot.py)
• Selenium WebDriver client library (Python API)
• ChromeDriver (WebDriver HTTP server)
• Google Chrome browser (headful or headless)
• Simplilearn web application (remote service)
• Configuration (credentials stored in script or config file)
b. Relationships & data flow
1. Bot loads credentials → instantiates Selenium WebDriver
2. Selenium client sends WebDriver commands over HTTP to ChromeDriver
3. ChromeDriver drives Chrome (launch, navigate, click, extract DOM)
4. Chrome issues HTTPS requests to Simplilearn servers → receives HTML/CSS/JS
5. Bot parses page, identifies “Continue Watching” element, issues click command
6. Bot polls page state (progress bar or video time) until completion
7. Bot logs out or closes browser
c. Architectural patterns & design principles
• Single-process automation loop (initialize → perform actions → tear down)
• External service integration via WebDriver protocol
• Configurable for different user credentials / course URLs
d. Key technologies
• Python 3.7+
• selenium Python package
• ChromeDriver (matches Chrome version)
• Google Chrome browser
• HTTP/HTTPS (WebDriver protocol & web requests)