Internet Speed Twitter/X Complaint Bot
Automated Speedtest.net Telemetry & ISP Accountability Bot
Measures live upload/download speeds with 120-second float validation and publishes ISP SLA reports automatically via Selenium.
An automated bandwidth testing and social accountability bot built with Python and Selenium WebDriver. Navigates Speedtest.net, clears cookie banners, polls live download/upload metrics up to 120 seconds, compares throughput against promised ISP rates, and tweets automated complaints via X.
Asynchronous speed test UIs update placeholders slowly and fail naive scraping if read before upload measurements complete.
Demonstrates polling state guards, strict float parsing, and multi-site Selenium orchestration driven cleanly via environment config.
Engineering Objectives
System Architecture
Object-oriented InternetSpeedTwitterBot encapsulating Chrome WebDriver lifecycle, telemetry polling, threshold evaluation, and social login/composer dispatch.
Validated 120s Metric Polling
Guards against partial test reads by polling until both download and upload elements parse cleanly as floats.
Core & Backend Implementation
- InternetSpeedTwitterBot class with get_internet_speed() and tweet_at_provider() methods.
- Environment-driven SLA thresholds (PROMISED_DOWN, PROMISED_UP) via python-dotenv.
Client & Interface Layer
- Automated browser DOM interaction across Speedtest.net and X composer modals.
Data & Schema Design
Holds verified download/upload float readings across multi-step browser navigation.
Authentication & Security Controls
- No hardcoded social credentials or provider endpoints in source.
Engineering Challenges & Technical Decisions
Key Challenges Solved
Trade-Off Decisions
Testing & Verification Methodology
- Confirmed accurate float extraction and threshold branching.