WebQA Agent is an autonomous web browser agent that audits performance, functionality & UX for engineers and vibe-coding creators.
Project description
If you like WebQA Agent, please give us a ⭐ on GitHub!
🤖 WebQA Agent is a fully automated web testing agent with multimodal page understanding — no test scripts required. Powered by ⚡ WebQA Flash mode — just describe your business goal in one sentence and the agent drives the browser to complete the test in seconds. ✨ Use it via GUI / CLI directly, or integrate seamlessly with Cursor, Claude Code, and OpenClaw via MCP / Skill.
📑 Table of Contents
🚀 Core Features
📋 Product Overview
WebQA Agent offers three testing forms—from lightweight exploration to deep regression:
| Capability | ⚡ WebQA Flash (Default · Recommended) | 🤖 Standard Generate | 📋 Run Mode |
|---|---|---|---|
| Positioning | Lightweight exploration engine; natural-language goals in seconds | AI discovery → dynamic generation → precise execution | Execute YAML instructions with expected verification |
| Use Cases | Quick smoke tests, IDE inline runs, platform Flash exploration, MCP/Skill NL tests | New feature exploration, full QA; Focused / Explore planning | Repeatable and regression testing |
| User Input | One-sentence goal (or concurrent goal list) | URL + optional objectives; platform picks Focused when goals are filled, Explore when empty | Structured natural-language steps |
| Entry Points | CLI gen + engine: flash, web dashboard, MCP run_test, Skill |
CLI gen + engine: standard, web dashboard |
CLI run, web dashboard |
Usage & Deployment: CLI (see CLI Usage); full-stack deployment (Local / Docker / K8s) with Flash reports, API Key management, and one-click parameter backfill. See Deployment.
For a detailed comparison and configuration guides for standard modes, see docs/MODES&CLI.md.
⚡ Flash Key Advantages
- Second-scale execution, instant feedback: No heavy offline planning, no lengthy test setup. Built on the lightweight Chrome DevTools MCP, the agent receives natural-language goals in real time and immediately drives the browser to interact and assert.
- Zero selector maintenance: Say goodbye to CSS selectors and XPath. Multimodal AI identifies page elements directly — when the UI is redesigned or styles change, the agent looks and clicks like a human would.
- Native IDE & agent integration: Ships with a standard MCP server. Issue test commands in natural language directly from Cursor or Claude Code, letting your AI coding assistant run the automation for you.
🧭 Architecture
📹 Examples
🎬 Watch Demo: One-click testing of Baidu.com
🚀 Quick Start
Choose between 🛠️ CLI Quick Start (Flash Mode) or 🖥️ Full-stack Deployment (Web Dashboard).
🛠️ CLI Quick Start
Recommended: install via uv (Python>=3.11). Flash mode drives the browser through chrome-devtools-mcp.
# 1) Create project and install
uv init my-webqa && cd my-webqa
uv add webqa-agent
# 2) Install Chrome browser & Chrome MCP pre-requisites
npm install -g chrome-devtools-mcp@latest # Required for Flash mode
# 3) Initialize and Run (defaults to Flash mode)
uv run webqa-agent init # Generates config.yaml (edit with your target URL & LLM API Key)
uv run webqa-agent gen # Start testing
target:
url: https://example.com
max_concurrent_tests: 2
test_config:
business_objectives:
- >
Search for "laptop", click the first result and confirm the detail page loads,
then go back and switch to the "Images" tab and verify the content is related.
- Apply a price filter and verify all displayed results fall within the selected range
Built-in skills (loaded on demand, no extra config needed): plan, ui-audit, recovery, nuclei-scan, button-check. See docs/MODES&CLI.md for details.
🖥️ Full-stack Deployment (Recommended for Teams)
For visual dashboard, test management, and history, start with Docker Compose:
git clone https://github.com/MigoXLab/webqa-agent.git
cd webqa-agent/deploy/docker-compose
cp .env.example .env
# Edit .env: fill in your LLM API Key
./start.sh
Access via
http://localhost. For other deployment methods, see Deployment.
⚙️ CLI Usage
CLI Parameter Details
WebQA Agent provides a concise command-line interface for initialization, autonomous exploration, case execution, and launching the Web UI.
| Command | Description | Common Arguments |
|---|---|---|
init |
Initialize configuration file | -m <gen/run>: Specify mode; -o <path>: Output path; --force: Overwrite existing |
gen |
Generate/Flash Mode: Autonomous test execution | -c <path>: Config path; -w <n>: Parallel workers; defaults to Flash engine (local Chrome via Chrome MCP) |
run |
Run Mode: Execute YAML-defined test cases | -c <path/dir>: Config file or folder; -w <n>: Parallel workers; requires Standard engine (Playwright executor) |
For details on Standard Gen and Run modes, see docs/MODES&CLI.md.
📊 View Results
Test reports are generated in the reports/ directory. Open the HTML file to view detailed results.
🔌 MCP & Skill Integration
WebQA MCP Server
Expose browser testing to Cursor, Claude Code, and other IDEs via MCP. After install you get the webqa-mcp-server command.
1. Install
git clone https://github.com/MigoXLab/webqa-agent.git
cd webqa-agent
pip install -e .
which webqa-mcp-server
2. API Key
WebQA platform → API Keys → create key (shown once).
3. IDE config (Cursor example)
Settings → MCP → Add Server:
{
"mcpServers": {
"webqa": {
"command": "/absolute/path/to/webqa-mcp-server",
"env": {
"WEBQA_API_URL": "https://your-webqa-platform.com",
"WEBQA_API_KEY": "wqa_xxxxxxxx..."
}
}
}
}
Full tool reference: docs/MCP_SERVER.md.
WebQA Skill
The skills/webqa/ package works with OpenClaw and Claude Code for natural-language browser tests without scripts.
- Claude Code: Add
skills/webqato your project Skills path or copy to.claude/skills/webqa. - OpenClaw: Register
skills/webqaper your OpenClaw Skill layout.
Key references: skills/webqa/SKILL.md, skills/webqa/references/mini-agent.md, skills/webqa/references/setup.md.
🖥️ Deployment
For teams that need a persistent web dashboard with test management, scheduled tasks, and execution history, deploy the full-stack platform.
Platform highlights:
- Flash exploration: End-to-end integration with screenshots and step-level report detail
- API Key management: Create MCP API keys for Cursor / Claude Code
Deployment options:
| Method | Use Case | Guide |
|---|---|---|
| Local Development | Personal dev & debugging | deploy/README.md |
| Docker Compose | Single-machine / Team trial | deploy/README.md |
| Kubernetes | Production cluster | deploy/k8s/README.md |
💡 Extending Internal Logic: WebQA Agent supports extending internal logic based on your team's infrastructure (such as integrating internal SSO, OSS object storage, internal LLMs, etc.). You are free to customize and develop it to fit your needs. deploy/README.md
Note: The web dashboard platform is currently only available in Chinese.
🗺️ RoadMap
- Interaction & Visualization: Display the agent's reasoning chain and decision rationale in real time during test execution, so users can immediately understand why the AI took a particular path and adjust their business-goal descriptions and prompts accordingly (currently only post-hoc replay in the report).
- Flash multi-step cases: Extend "one-sentence goal → single case chain" into a structured execution model with precondition / steps / assertions, enabling regression testing, failure localization, and cross-run reuse for complex scenarios (currently runs user input as a single case chain).
- Explore mode enhancement: Persist the agent's broad-discovery findings (under no-PRD scenarios) into a structured, reusable test case library, closing the loop from discovery to regression instead of leaving one-off exploration reports (currently broad discovery, results not persisted).
🙏 Acknowledgements
- natbot: Drive a browser with GPT-3
- Midscene.js: AI Operator for Web, Android, Automation & Testing
- browser-use: AI Agent for Browser control
- cc-mini: Ultra-light Python harness for agentic Claude Code workflows; provides the core engine, MCP client, skill registry, and cookie-management layer that powers WebQA Agent's Flash execution mode
📄 License
This project is licensed under the Apache 2.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webqa_agent-0.3.2.tar.gz.
File metadata
- Download URL: webqa_agent-0.3.2.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77da632291267998eca71821e9ad6a71101ebc289773e34f1f0d8c9a8f8623e6
|
|
| MD5 |
8ce7d4e0a17d53ee4d1fe20239ccbfee
|
|
| BLAKE2b-256 |
a6c47c4d90776a7ede84bbf7b649756fdcd351494748897be61176011ce7c6b1
|
Provenance
The following attestation bundles were made for webqa_agent-0.3.2.tar.gz:
Publisher:
workflow.yml on MigoXLab/webqa-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
webqa_agent-0.3.2.tar.gz -
Subject digest:
77da632291267998eca71821e9ad6a71101ebc289773e34f1f0d8c9a8f8623e6 - Sigstore transparency entry: 1632463646
- Sigstore integration time:
-
Permalink:
MigoXLab/webqa-agent@689098de086e006769253f02bb2cb04ea43fd52c -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/MigoXLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@689098de086e006769253f02bb2cb04ea43fd52c -
Trigger Event:
push
-
Statement type:
File details
Details for the file webqa_agent-0.3.2-py3-none-any.whl.
File metadata
- Download URL: webqa_agent-0.3.2-py3-none-any.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af4afb43fba01bf3a90edd24190bb02917ebbb5ef79ba5bb008f4e61183d621
|
|
| MD5 |
f9b4e8dbbe0d66c499633afd9eee0200
|
|
| BLAKE2b-256 |
53d0d6f65353da29f8a4fa25fab4cfcc846b0747516046fd1a52dfa15364ba36
|
Provenance
The following attestation bundles were made for webqa_agent-0.3.2-py3-none-any.whl:
Publisher:
workflow.yml on MigoXLab/webqa-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
webqa_agent-0.3.2-py3-none-any.whl -
Subject digest:
7af4afb43fba01bf3a90edd24190bb02917ebbb5ef79ba5bb008f4e61183d621 - Sigstore transparency entry: 1632463668
- Sigstore integration time:
-
Permalink:
MigoXLab/webqa-agent@689098de086e006769253f02bb2cb04ea43fd52c -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/MigoXLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@689098de086e006769253f02bb2cb04ea43fd52c -
Trigger Event:
push
-
Statement type: