An AI-powered SaaS platform that automatically generates and executes end-to-end Playwright test suites from a single input: a website URL. Designed for QA teams, developers, and product owners who want faster, smarter, and zero-manual setup testing for web applications.
The AI SaaS Testing Platform takes a website URL, intelligently scans its DOM structure using an AI agent built with Langchain and OpenAI, and generates Playwright test scripts. These scripts are executed automatically using Playwright MCP (Managed Cloud Project). Users can view detailed logs, screenshots, and rerun or regenerate tests from a modern dashboard UI.
-
✅ One-Click Test Generation
Just input your website URL, and the system auto-generates a test suite. -
🧠 AI Agent Powered by Langchain + OpenAI
Crawls the webpage DOM and crafts smart test scenarios (e.g., login, form validation, navigation flows). -
🧪 Automated Execution with Playwright MCP
Scripts are run in a headless cloud environment, with logs, errors, and screenshots captured. -
📊 Beautiful Test Dashboard
View test status, logs, generated scripts (Monaco editor), screenshots, and action buttons (Rerun, Regenerate). -
🔁 CI/CD Compatible
Designed with APIs that can be triggered by pipelines or cron jobs. -
🔐 (Optional) Auth System for Multi-user Support
Most testing tools require manual test writing or record-and-playback methods. This platform is different:
- Uses Generative AI to write real, working code.
- Supports zero manual test setup — perfect for rapid prototyping and MVP testing.
- Generates scripts in JavaScript (Playwright) — human-readable and extensible.
- Visual dashboard with live results, unlike CLI tools or local runners.
User Submits URL → AI Agent (Langchain + OpenAI/Ollama) → Generate Playwright Script → Save to DB → Trigger MCP → Capture Logs/Screenshots → Show Results in Dashboard
Frontend: React, TailwindCSS, Axios, Monaco Editor
Backend: Node.js or FastAPI
AI Agent: Langchain, OpenAI/Ollama
Test Runner: Playwright MCP
Database: MongoDB / PostgreSQL
DevOps: Docker, GitHub Actions
ai-saas-testing-platform/
├── client/src
│ ├── components/
│ ├── pages/
│ └── services/
├── server/
│ ├── controllers/
│ ├── routes/
│ ├── public/
│ └── models/
└── README.md
- Node.js v18+
- Python 3.10+ (if using FastAPI backend)
- MongoDB or PostgreSQL
- OpenAI API Key or Ollama to run locally
- Playwright MCP Access Key
git clone https://github.com/your-username/ai-saas-testing-platform.git
cd ai-saas-testing-platform
cd server
npm install
node server.js
cd client
npm install
npm run start
Frontend → http://localhost:5000 Backend → http://localhost:5000 (Node.js)
OPENAI_API_KEY=your_openai_key or Use ollama in free to access Locally MONGODB_URI= MCP_API_KEY= BASE_URL=http://localhost:5000
- Open http://localhost:5000
- Input test site URL (e.g., https://automationexercise.com or https://www.demoblaze.com)
- Click "Generate Tests"
- View logs, screenshots, and scripts in the dashboard
Fork the repo → Create a branch → Make changes → Submit a PR
Suggestions & improvements welcome!
Built by Ritesh Thakur
For queries or collaborations, feel free to reach out on GitHub