- 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
22 lines
503 B
Makefile
22 lines
503 B
Makefile
.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
|