Contributing to Shellnium
March 27, 2026 ยท View on GitHub
Thank you for your interest in contributing to Shellnium!
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-username>/shellnium.git - Create a branch:
git checkout -b my-feature - Make your changes
- Push and open a Pull Request
Development Setup
# Standard Docker-first verification entrypoint
make ci
Code Style
- Quote all variable expansions:
"${var}"instead of$var - Use
localfor function-scoped variables - Follow existing naming conventions (snake_case for functions)
- Avoid debug output (no stray
echostatements)
Testing
Before submitting a PR, verify your changes work with both bash and zsh:
make ci
# Optional: only if you run examples directly on the host
make bootstrap
bash demo.sh
zsh demo.sh
Adding New WebDriver Commands
When implementing a new W3C WebDriver command:
- Add the function to the appropriate section in
lib/core.sh - Follow the existing pattern for HTTP method usage (
$GET,$POST,$DELETE) - Quote all URL variables:
"${BASE_URL}/..." - Update
README.mdwith the new method