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:
21
Makefile
Normal file
21
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user