Record real browser interactions and DOM mutations. Let AI synthesize production-grade specs with zero fragile CSS selectors and automated assertions.
Traditional codegen generates brittle DOM trees with zero assertions.
clickspec synthesizes maintainable, user-centric code.
No boilerplate fluff. Built with strict principles from the ground up.
Prioritizes user-facing semantic queries like getByRole, getByLabel, and getByPlaceholder. Strictly forbids fragile hierarchy chains.
When you submit forms or trigger state changes, our client-side observer watches for toasts, dialogs, error banners, and URL transitions to generate automatic assertions.
Filters typing noise and accidental double-clicks. Compresses 40 individual keystroke events into a single, clean page.fill() command, minimizing LLM token cost.
Powered by the new official @google/genai SDK using Gemini 3.8 Flash for fast, low-cost code synthesis, with seamless fallback to OpenAI gpt-4o-mini.
A four-stage pipeline designed for simplicity and rock-solid determinism.
Launches Chromium with an exposed bridge and injects in-page DOM listeners for clicks, inputs, and SPA route changes.
Detects newly rendered toast notifications, alerts, modals, and route changes after button clicks.
Debounces rapid key inputs into atomic fill operations and pairs assertion candidates with their actions.
Gemini model generates clean TypeScript Playwright code, sanitized, verified, and saved straight to disk.
GEMINI_API_KEY (get one free at aistudio.google.com) to your .env, or pass OPENAI_API_KEY as fallback.