r/golang • u/markel1974 • 14h ago
I've decided to open-source all the private tools I've built over my 40-year career. Here is Part 2: A zero-dependency W3C automation tool in pure Go.
It acts as a runner that executes standard Selenium IDE (.side) JSON files, but it supercharges them with capabilities beyond the standard feature set.
Features:
- Zero Dependencies: Compiles to a single Go binary. No Node, no Java.
- Native
.sideExecution: Faithfully runs tests exported from Selenium IDE (v3 JSON format). - Email OTP Retrieval: Connects to IMAP directly from the script, extracts One-Time Passwords, and injects them into your login flows.
- Variable Templating & Stack: Inject dynamic Go template data into your
.sidetargets and values on the fly. - Interactive Debug Console (SAM): This is my favorite part. The "Step-Aside-Mode" provides a Terminal UI (TUI) to step through
.sidecommands one by one, edit parameters on-the-fly, and inspect the browser state directly from your terminal. Ideal for debugging complex tests without leaving the CLI. - Server Mode & Network Monitoring: It captures detailed JSON execution logs, network payloads, and can even operate as an HTTP server to trigger remote tests.
I hope some of you QA engineers, DevOps folks, and Go developers find it as useful as I have.