https://github.com/avi350751/agentwright
Testing Playwright Agents with a demo project
https://github.com/avi350751/agentwright
playwright playwright-agents playwright-javascript
Last synced: 20 days ago
JSON representation
Testing Playwright Agents with a demo project
- Host: GitHub
- URL: https://github.com/avi350751/agentwright
- Owner: avi350751
- Created: 2025-11-08T03:53:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-11-08T16:41:25.000Z (8 months ago)
- Last Synced: 2026-06-08T02:34:04.340Z (20 days ago)
- Topics: playwright, playwright-agents, playwright-javascript
- Language: TypeScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤖 agentwright
> *Where Playwright meets intelligent agents.*
AgentWright is an experimental JavaScript/TypeScript framework that brings **agentic automation** into the Playwright ecosystem.
It allows multiple AI-driven agents to **planner**, **generator**, and **healer** within the same browser session — perfect for exploring the future of autonomous testing.
---
## 🧩 Project Overview
This repository demonstrates how **three different agents** can collaborate in a Playwright-based testing environment.
| Agent | Purpose | Description |
|-------|----------|-------------|
| **PlannerAgent** | Exploration | planner explores the app and produces a Markdown test plan. |
| **GeneratorAgent** | Transformation | transforms the Markdown plan into the Playwright Test files |
| **HealerAgent** | Execution | executes the test suite and automatically repairs failing tests |
Each agent operates independently but shares a unified Playwright context, simulating a **multi-agent test orchestration** model.
---
## ⚙️ Setup
```bash
# Clone the repo
git clone https://github.com//AgentWright.git
cd AgentWright
# Install dependencies
npm install
# Run sample test
npx playwright test