| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-10-19 | 2.6 kB | |
| v4.0.0 - Auto-Detection _ Smart Test Management source code.tar.gz | 2025-10-19 | 19.2 kB | |
| v4.0.0 - Auto-Detection _ Smart Test Management source code.zip | 2025-10-19 | 24.9 kB | |
| Totals: 3 Items | 46.7 kB | 0 | |
๐ Major Release: Auto-Detection & Smart Test Management
Version 4.0.0 brings significant workflow improvements that eliminate common friction points when testing with Playwright.
โจ What's New
๐ Auto-Detect Dev Servers
- Automatically scans common ports (3000, 3001, 3002, 5173, 8080, 8000, 4200, 5000, 9000, 1234)
- Smart workflow:
- 1 server found โ Uses automatically
- Multiple servers โ Asks which one to test
- No servers โ Asks for URL or offers to help start one
- No more hardcoded URLs or manual edits!
๐งน Clean Test Management
- All test scripts now written to
/tmp/playwright-test-*.js - Automatic cleanup by OS (no project clutter)
- No more test files polluting your skill directory
๐ URL Parameterization
- Every example includes
TARGET_URLconstant at the top - Easy to modify if auto-detection picks wrong server
- Consistent pattern across all code examples
๐ Inline Execution Support
- Quick one-off tasks can be executed inline
- No file creation for simple screenshots or checks
- Documentation on when to use inline vs files
๐ง Technical Changes
New Functions:
detectDevServers()inlib/helpers.js- Scans for running servers
Documentation:
- Complete rewrite of SKILL.md with critical workflow section
- Updated all examples to use /tmp and parameterized URLs
- New execution pattern showing server detection flow
- Enhanced tips section with best practices
๐ Impact
Before v4.0.0 (from real user transcript):
- โ Hardcoded
localhost:3000 - โ Server was on port 3001 โ required 3 manual edits
- โ No server detection
- โ Test files cluttered skill directory
- โ Hook errors from writing to wrong location
After v4.0.0:
- โ Auto-detects port 3001
- โ Zero manual edits needed
- โ Proactive server detection
- โ All files in /tmp (clean)
- โ No hook errors
๐ Upgrade Notes
This is a major version bump due to workflow changes:
Breaking Changes:
- Skill now expects to run server detection before localhost testing
- Test files are written to
/tmpinstead of skill directory
Migration:
- No action needed - skill handles everything automatically
- Old test files in skill directory can be safely deleted
๐ Documentation
Updated examples show the new workflow:
- Auto-detect servers
- Write test to /tmp with parameterized URL
- Execute and enjoy clean results
See SKILL.md for complete details and examples.
Full Changelog: https://github.com/lackeyjb/playwright-skill/compare/v3.2.0...v4.0.0