A CLI tool that drives Tauri WebView via JSON-RPC over a local socket, enabling accessibility-tree inspection, ref-based interaction, and agent-ready structured output.
Adapted from @DanKornasTesting a Tauri UI with an agent shouldn’t mean fighting Chromium-only tools. tauri-pilot is an interactive testing CLI for Tauri v2 apps, for developers and AI agents that need to inspect, interact with, and debug a running app. It helps you drive a Tauri WebView from the terminal by pairing a debug-build plugin with a CLI that sends JSON-RPC commands through a local socket or named pipe. Key features: • Accessibility-tree snapshots – inspect interactive UI elements as stable refs such as `@e1` and `@e2` • Ref-based interaction – click, fill, press, select, scroll, drag, and drop against those refs • Built-in verification – assert text, visibility, values, counts, URLs, and more in one command • Debugging tools – capture screenshots, console logs, network requests, storage, and arbitrary JavaScript output • Agent-ready interfaces – use structured `--json` output or run the same surface through a stdio MCP server It’s open-source (MIT license). Link in the reply 👇