feat: add standalone Playwright recorder tool with Docker-based codegen

- introduce repo-local, ephemeral Playwright codegen workflow
- add executable codegen script using official Playwright Docker image
- persist generated recordings under recordings/ (git-ignored, .gitkeep)
- add minimal Makefile with install and codegen targets
- switch project license to MIT
- improve README with clear usage, requirements, and design rationale
- add MIRRORS file for multi-remote setup
- clean up gitignore for generated artifacts and node tooling
This commit is contained in:
2026-02-05 14:56:46 +01:00
parent c4587ad238
commit df66e3547e
9 changed files with 316 additions and 37 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
.PHONY: help install codegen
## 📖 Show help
help:
@echo ""
@echo "🎭 playwright-recorder"
@echo ""
@echo "Targets:"
@echo " make install 🔧 Prepare the recorder (chmod +x)"
@echo " make codegen 🎥 Record Playwright tests via GUI"
@echo " make help 📖 Show this help"
@echo ""
## 🔧 One-time setup
install:
@chmod +x scripts/codegen.sh
@echo "✔ scripts/codegen.sh is now executable"
## 🎥 Run Playwright Codegen (GUI recording)
codegen:
bash scripts/codegen.sh