How supermaneddie/agentic-playwright-e2e-tester works
This is an agentic HTTP/API and browser end-to-end testing service with a web portal. A user submits a project and test case through the API or portal; the service prepares or resumes a LangGraph checklist, gathers missing answers, then executes HTTP requests or Playwright actions and records results. Major supporting capabilities include project and case management, dependencies, saved answers and element inspections, screenshots, polling, and persistent run history. The graph follows documented and excerpted links; dashed edges mark runtime connections not established by the supplied excerpts.
Main entry points: browser.py Playwright executor · main.py HTTP API · service.py Run and case service · workflow.py LangGraph workflow
Components 21
Entry and portal
- HTTP API
app/main.py - Portal pages
app/templates - Portal scripts
app/static/app.js - Live polling
app/static/polling.js - Runtime settings
app/config.py
Planning and workflow
- Input and plan models
app/models.py - Run and case service
app/service.py - Checklist planner
app/planner.py - LangGraph workflow
app/workflow.py
Test execution
- HTTP executor
app/runner.py - Playwright executor
app/browser.py
Browser inspection
- Element resolver
app/inspection.py - Inspection cache
app/inspection_cache.py - Target guidance
app/targeting.py - Screenshot artifacts
app/screenshots.py
State and privacy
- Secret redaction
app/privacy.py - Test record store
app/store.py - Workflow checkpoints
app/main.py
Other components
- Test author
- Chat completion provider
- System under test
Connections 27
- Test author → HTTP API: submits cases
README.md - Test author → Portal pages: manages tests
README.md - Portal pages → Portal scripts: uses scripts
- Portal scripts → HTTP API: requests data
- Portal scripts → Live polling: polls updates
- HTTP API → Run and case service: routes operations
app/main.py - HTTP API → Runtime settings: loads configuration
app/main.py - HTTP API → Test record store: initializes store
app/main.py - HTTP API → Workflow checkpoints: configures saver
app/main.py - HTTP API → Playwright executor: creates runner
app/main.py - Run and case service → LangGraph workflow: starts runs
- LangGraph workflow → Checklist planner: creates plans
app/workflow.py - Checklist planner → Chat completion provider: requests checklist
app/planner.py - LangGraph workflow → HTTP executor: executes HTTP steps
app/workflow.py - LangGraph workflow → Playwright executor: executes browser steps
- HTTP executor → System under test: sends requests
app/runner.py - Playwright executor → System under test: drives browser
- Playwright executor → Element resolver: resolves targets
app/browser.py - Playwright executor → Inspection cache: captures locations
app/browser.py - Inspection cache → Element resolver: uses element scripts
app/inspection_cache.py - Playwright executor → Target guidance: uses target guidance
app/browser.py - Playwright executor → Screenshot artifacts: uses screenshot tools
app/browser.py - Run and case service → Test record store: persists run state
- Test record store → Input and plan models: uses record models
app/store.py - Run and case service → Secret redaction: redacts saved data
app/service.py - Checklist planner → Secret redaction: redacts plan context
app/planner.py - Playwright executor → Secret redaction: redacts observations
app/browser.py