Test websites automatically using natural language - No coding required!
π Quick Start β’ β¨ Features β’ πΈ Screenshots β’ π οΈ Installation β’ π Documentation
QA-Pilot Agent is a revolutionary AI-powered testing platform that converts plain English instructions into automated browser tests. Simply describe what you want to test, and watch the agent execute it flawlessly using Playwright automation.
Example: Type "Go to youtube.com and search for 'AI tutorial'" β The agent automatically navigates, interacts with elements, and generates a comprehensive test report!
- β‘ Zero Code - No programming knowledge needed
- π¨ Beautiful UI - Modern dashboard with real-time process visualization
- π§ Smart Parsing - Advanced natural language understanding
- π Rich Reports - PDF, HTML, and JSON export formats
- πΉ Session Recording - Capture and replay test executions
- π Multi-Browser - Chrome, Firefox, Edge support
Write test cases in plain English. Our intelligent parser understands actions like:
- Navigate, Go to, Open
- Click, Type, Fill, Enter
- Search, Select, Scroll
- Wait, Check, Verify
- Automatic event capture with timestamps
- Screenshot collection at key moments
- Downloadable JSON recordings
- Complete test session playback
Generate professional reports in multiple formats:
- PDF - Beautiful formatted reports with branding
- HTML - Interactive reports with charts
- JSON - Machine-readable data for CI/CD
- Real-time 5-step process animation
- Live test execution monitoring
- Beautiful gradient UI with smooth transitions
- Responsive design for all devices
- Multiple browser support (Chromium, Firefox, Edge)
- Headless & visible execution modes
- Full-page screenshot capture
- Test history tracking
- Quick example templates
- One-click report downloads
Add your landing page screenshot here
Configure your test parameters
View execution steps and Playwright code
Generate and download reports
- Python 3.8+ (Python 3.14 recommended)
- pip package manager
- Git for version control
- Internet connection for browser downloads
git clone <your-repository-url>
cd AI-Agent-for-Automated-Website-TestingWindows (PowerShell):
python -m pip install --upgrade pip
pip install -r requirements.txt
playwright install chromiumLinux/Mac:
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
playwright install chromiumCreate a .env file for API keys:
GEMINI_API_KEY=your_api_key_here # Optional - for enhanced parsingpython app.pyThe application will start at: http://localhost:5000
-
Open the Dashboard
- Navigate to
http://localhost:5000 - Click "Start Testing Now" or "Dashboard"
- Navigate to
-
Configure Test Settings (Agent Settings Tab)
- Enter task description: "Go to google.com and search for 'Playwright'"
- Select browser: Chrome/Firefox/Edge
- Choose mode: Visible or Headless
- Enable/disable recording
-
Run the Test
- Click "
βΆοΈ Run Agent" - Watch the 5-step process animation
- Results automatically appear in Run Agent tab
- Click "
-
View Results
- β Test status (Passed/Failed)
- π Execution steps with screenshots
- π» Generated Playwright code
- π₯ Download reports (PDF/HTML/JSON)
βββ π agent/ # Core agent modules
β βββ code_generator.py # Playwright code generation
β βββ executor.py # Test execution engine
β βββ parser.py # Natural language parser
β βββ recording_manager.py # Session recording
β βββ report_analyzer.py # Report generation
βββ π static/ # Frontend assets
β βββ css/ # Stylesheets
β βββ js/ # JavaScript files
β βββ screenshots/ # Generated screenshots
βββ π templates/ # HTML templates
β βββ dashboard_modern.html # Main dashboard
β βββ index.html # Landing page
βββ π reports/ # Generated test reports
βββ π recordings/ # Test session recordings
βββ π app.py # Main Flask application
βββ π requirements.txt # Python dependencies
βββ π QUICKSTART.md # Quick start guide
βββ π README.md # This file
| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Landing page |
/dashboard |
GET | Main dashboard |
/api/test |
POST | Execute test |
/api/recordings |
GET | List recordings |
/api/recordings/<id>/download |
GET | Download recording |
/api/analyzer/generate |
POST | Generate report |
/api/analyzer/reports |
GET | List reports |
/api/analyzer/download/<id>/<format> |
GET | Download report |
/api/export/pdf |
POST | Export PDF report |
Task: Go to google.com and search for 'OpenAI'
Browser: Chrome
Mode: Visible
Task: Navigate to amazon.com, search for 'laptop', wait 3 seconds
Browser: Firefox
Mode: Headless
Task: Open youtube.com, type 'Python tutorial' in search box
Browser: Edge
Mode: Visible
Recording: On
- chromium - Google Chrome (default)
- firefox - Mozilla Firefox
- msedge - Microsoft Edge
- Visible - Watch browser actions in real-time
- Headless - Run tests silently in background (faster)
- On - Capture all events and screenshots
- Off - Skip recording (faster execution)
Core libraries used in this project:
flask==3.0.0 # Web framework
playwright==1.40.0 # Browser automation
langchain==0.1.0 # AI parsing (optional)
langgraph==0.2.27 # Workflow orchestration
fpdf2==2.8.5 # PDF generation
colorama==0.4.6 # Terminal colors
python-dotenv==1.0.0 # Environment variables
flask-cors==4.0.0 # CORS supportIssue: Browser not found
# Solution: Install browsers
playwright install chromium firefox msedgeIssue: Port 5000 already in use
# Solution: Change port in app.py
app.run(debug=True, port=8080, host='0.0.0.0')Issue: Module not found errors
# Solution: Reinstall dependencies
pip install -r requirements.txt --upgrade- Natural language parsing
- Multi-browser support
- Session recording
- Multi-format reports
- Process visualization
- CI/CD integration
- Parallel test execution
- Test scheduling
- Cloud deployment
- API authentication
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Yashaswini
- GitHub: @yashaswini
- Project: QA-Pilot Agent
- Playwright - Browser automation framework
- Flask - Web framework
- LangChain - AI orchestration
- FPDF2 - PDF generation



