block/trailblaze
🥾 AI-Driven UI Testing Framework with Recorded Trails
What it solves
Trailblaze enables coding agents (like Claude Code or Cursor) to interact with and control real mobile and web applications. It bridges the gap between high-level natural language instructions and low-level device automation, turning manual agent sessions into deterministic, replayable regression tests without needing an LLM during the replay phase.
How it works
The project provides a CLI that exposes device interfaces (iOS, Android, and web) to coding agents. Agents use the snapshot command to read the UI tree and the tool command to perform actions. These interactions are recorded into trail.yaml files, which capture both the natural-language intent and the specific technical actions. Once a flow is recorded, it can be replayed deterministically in CI environments. It also includes a "skill" system that provides agents with the necessary instructions to understand and execute these device-control commands.
Who it’s for
It is designed for developers and QA engineers who use AI coding agents to automate workflows, build UI tests, or perform cross-platform device interactions. It is particularly useful for teams that want to maintain a single source of truth for tests that span across iOS, Android, and web platforms.
Highlights
- Cross-platform support: Unified control for iOS, Android, and web using native accessibility and DOM trees.
- Deterministic replay: Recorded trails run in CI without LLM overhead, ensuring consistent test results.
- Self-healing capabilities: Optional mode to automatically patch minor UI drifts (like text changes or popups) during replay.
- Rich trace viewer: Provides a visual report for every run, including screenshots, video, and view hierarchies.
- Agent-ready: Ships with a versioned "skill" file that teaches various coding agents how to interact with the CLI effectively.
Related
- Project
- Project
- Project
- Project
- Project