Overview
Rodney v0.4.0 brings significant improvements to CLI browser automation, adding automated testing capabilities that let you write shell script-based tests for web applications, plus better session management and cross-platform support.
Breaking Changes
- (v0.4.0) Exit code behavior changed - errors now use exit code 2, while exit code 1 is reserved for check failures
Changes by Version
v0.4.0
- Added automated JavaScript testing with rodney assert command - run tests and get proper exit codes for CI/CD integration
- Added directory-scoped sessions with –local/–global flags - better isolation for different projects
- Added rodney connect PORT command - debug already-running Chrome instances without starting new ones
- Added reload –hard and clear-cache commands - force refresh bypassing all caches
- Added –show option for rodney start - make browser window visible for debugging
- Added RODNEY_HOME environment variable - customize where session state is stored
- Added –insecure flag - ignore SSL certificate errors for testing
- Added Windows support - cross-platform compatibility with proper process handling
- Changed exit code behavior - errors use code 2, check failures use code 1 for better scripting integration
- Fixed cross-platform testing - now runs on Windows, macOS, and Linux