Quick Start¶
Get a working test suite in under 5 minutes.
Prerequisites¶
- Python 3.11+
- Node.js 18+ (for the
agent-browserCLI) - An LLM endpoint (Claude via claude-code-proxy, or any OpenAI-compatible API)
Install¶
Configure LLM access¶
# Default: claude-code-proxy (runs alongside Claude Code)
export AITESTER_LLM_MODEL=cc/claude-opus-4-7
export OPENAI_BASE_URL=http://localhost:20128/v1
export OPENAI_API_KEY=placeholder
Author a suite¶
aitester author \
--story "Open Wikipedia, verify the search input exists, search for 'BDD', verify the article heading" \
--base-url https://en.wikipedia.org \
--out wiki_smoke.robot
The agent will:
- Open the browser and navigate to the base URL
- Take accessibility snapshots to ground selectors
- Write a
.robotfile with rules that test your story - Dry-run it to verify the keywords parse
Run the authored suite¶
Output:
No LLM tokens consumed at run time. The suite is plain Robot Framework.
Watch it run (headed mode)¶
This opens a visible browser window and pauses 500ms after each action so you can follow along.
What just happened¶
- Author phase — the LLM drove
agent-browserto explore the live site, took snapshots, grounded selectors in the real DOM, and composed a.robotfile using the aitester-bdd keyword grammar. - Run phase — Robot Framework parsed the
.robotfile. The aitester-bdd keyword library built an in-memory rule DAG (deferred execution).Then I finalize verificationtriggered the walker, which executed the DAG against a live browser.
Next steps¶
- Writing Suites by Hand — understand the keyword vocabulary
- Rule Composition — parent-child rules, guards, retry
- How It Works — the plan-then-execute model explained