Skip to main content
ClaudeWave

AI-assisted Playwright test generation and evidence workflow

ToolsRegistry oficial0 estrellas0 forksTypeScriptActualizado today
ClaudeWave Trust Score
62/100
· OK
Passed
  • Actively maintained (<30d)
  • Clear description
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 9/21/2026
Get started
Method: Clone
Terminal
git clone https://github.com/hmamut39/playwrightgen
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Casos de uso

Resumen de Tools

# PlaywrightGen

AI-powered Playwright test generation platform for developers, automation engineers, and SDETs.

PlaywrightGen helps teams generate production-ready Playwright tests from prompts, components, HTML snippets, API descriptions, and page URLs.

## Features

- Prompt → Playwright test generation
- Component → Playwright test generation
- Component → unit test generation
- HTML / JSX → Playwright test generation
- API test generation
- URL analysis for more realistic browser flows
- Multiple output styles: Fast, Clean, Production
- Free / Pro product structure
- Copy code and download output
- Built with Next.js + OpenAI

## Example Use Cases

**Developers**
- Generate tests faster while building modern web applications

**Automation Engineers**
- Turn manual test ideas into automated Playwright coverage faster

**SDETs**
- Create stable locators, reusable flows, and production-ready test suites

## Tech Stack

- Next.js
- TypeScript
- OpenAI API
- TailwindCSS
- Playwright
- Cheerio

## Getting Started

Install dependencies:

```bash
npm install
```

## Phase 1A workspace foundation

Checkpoint 2 adds the PostgreSQL schema and initial Prisma migration for the tenant-safe workspace. Checkpoint 4 synchronizes Clerk users, organizations, and organization memberships into those existing PostgreSQL models. Checkpoint 5 adds the server-only tenant authorization boundary, Checkpoint 6 adds tenant-scoped project and project-membership services with transactional Activity, and Checkpoint 7 adds the real database-backed workspace project list, creation, and overview experience.

The first V1 slice adds project-scoped Requirements, immutable
RequirementVersion snapshots, explicit draft/review/approve/archive workflow,
and real permission-aware Requirements routes inside each project.

AI Requirement Review stores advisory, evidence-linked suggestions against one
immutable version. Suggestions can be accepted or dismissed but never mutate
Requirement content. `OPENAI_REQUIREMENT_REVIEW_MODEL` optionally overrides the
default review model; `OPENAI_API_KEY` remains server-only.

V1.3 adds versioned Test Cases with objective, preconditions, structured steps
and expected results, review/approval, and direct Requirement traceability.
Automation status is separate so future Playwright browser, API, and
integration engines can create reviewable artifacts from approved versions.

V1.4 adds Test Runs pinned to an approved TestCaseVersion. Manual, Playwright
Browser, and API modes store environment/browser metadata and append immutable
attempts with overall/per-step results, duration, failure details, and evidence
links. Retrying creates another attempt instead of overwriting history.

V1.5 adds advisory AI Failure Intelligence for failed and blocked attempts. It
uses the OpenAI Responses API with Structured Outputs, validates every cited
quote against immutable stored evidence, records model/prompt/schema/token
metadata, and requires a Lead or Owner/Admin to confirm or dismiss findings.
`OPENAI_FAILURE_ANALYSIS_MODEL` optionally overrides the default analysis model.

Phase 1A uses these environment variable names:

- `DATABASE_URL`: the PostgreSQL connection used by the application at runtime and by local development migration work when no direct connection is configured.
- `DIRECT_URL`: the optional direct PostgreSQL connection preferred by Prisma migration commands when a pooled runtime connection is unsuitable.
- `TEST_DATABASE_URL`: a physically separate PostgreSQL database used only by integration tests. It must identify a dedicated test database and never falls back to either development variable.
- `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`
- `CLERK_SECRET_KEY`
- `CLERK_WEBHOOK_SIGNING_SECRET`

V1.8 GitHub setup additionally requires separate development/Preview values:

- `GITHUB_APP_ID`, `GITHUB_APP_PRIVATE_KEY`
- `GITHUB_APP_SLUG`, `GITHUB_APP_CLIENT_ID`, `GITHUB_APP_CLIENT_SECRET`
- `GITHUB_WEBHOOK_SECRET`
- `GITHUB_SETUP_STATE_SECRET` (at least 32 characters and distinct from every other secret)
- `NEXT_PUBLIC_APP_URL` (the exact application origin used by the GitHub callback)

The GitHub App is read-only during repository import: metadata and contents
read, with only `installation` and `installation_repositories` webhook events.
User and installation access tokens are transient and must never be logged or
stored.

Configure a Clerk Dashboard webhook endpoint at `/api/webhooks/clerk` and set `CLERK_WEBHOOK_SIGNING_SECRET` locally and in the deployment environment. Subscribe it to:

- `user.created`, `user.updated`, `user.deleted`
- `organization.created`, `organization.updated`, `organization.deleted`
- `organizationMembership.created`, `organizationMembership.updated`, `organizationMembership.deleted`

Local webhook delivery requires a secure tunnel to the local application. Do not place webhook secret values in documentation or source control.

Reconcile one Clerk organization without writing by default:

```bash
npm run clerk:reconcile -- --organization-id org_example
# or
npm run clerk:reconcile -- --slug workspace-slug
```

After reviewing the dry-run counts, explicitly add `--apply` to write the scoped reconciliation. The command never sweeps all organizations by default.

Database commands:

```bash
npm run prisma:format
npm run prisma:validate
npm run prisma:generate
npm run prisma:migrate:dev
npm run test:database
```

Never commit credentials, secrets, `.env`, or `.env.local`. Never run development migration or database reset commands against production from a developer laptop.

Lo que la gente pregunta sobre playwrightgen

¿Qué es hmamut39/playwrightgen?

+

hmamut39/playwrightgen es tools para el ecosistema de Claude AI. AI-assisted Playwright test generation and evidence workflow Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-20.

¿Cómo se instala playwrightgen?

+

Puedes instalar playwrightgen clonando el repositorio (https://github.com/hmamut39/playwrightgen) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar hmamut39/playwrightgen?

+

Nuestro agente de seguridad ha analizado hmamut39/playwrightgen y le ha asignado un Trust Score de 62/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene hmamut39/playwrightgen?

+

hmamut39/playwrightgen es mantenido por hmamut39. La última actividad registrada en GitHub es del 2026-09-20, con 0 issues abiertos.

¿Hay alternativas a playwrightgen?

+

Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.

Despliega playwrightgen en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: hmamut39/playwrightgen
[![Featured on ClaudeWave](https://claudewave.com/api/badge/hmamut39-playwrightgen)](https://claudewave.com/repo/hmamut39-playwrightgen)
<a href="https://claudewave.com/repo/hmamut39-playwrightgen"><img src="https://claudewave.com/api/badge/hmamut39-playwrightgen" alt="Featured on ClaudeWave: hmamut39/playwrightgen" width="320" height="64" /></a>

Más Tools

Alternativas a playwrightgen