SpecterQA is an open-source CLI for behavioral testing. Instead of writing test scripts with selectors, you define personas (YAML) and journeys (goals). The engine launches a real browser via Playwright, screenshots the page, sends it to Claude's vision model, and the AI decides what to click/type/scroll. Loop until done or stuck.
The idea: test scripts break when markup changes. Vision-based tests break when the UX actually breaks.
Personas have attributes like technical comfort, patience, and role that shape navigation behavior. A "frustrated non-technical admin" navigates differently than a "power user developer."
pip install specterqa
specterqa init
specterqa run -p demo
Cost: ~$0.30-$3.00/run depending on journey length. Built-in budget caps. Requires Anthropic API key.Previously called GhostQA — we rebranded after discovering ghostqa.com exists as an AI testing company. Clean break, no confusion.
GitHub: https://github.com/SyncTek-LLC/specterqa
MIT license. Alpha (v0.3.0). Feedback welcome.