tauri-pilot

Automate testing and debugging of Tauri v2 apps via JSON-RPC 2.0.

75|12|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/mpiton/tauri-pilot --skill tauri-pilot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tauri-pilot
Source: https://github.com/mpiton/tauri-pilot/tree/main
Command: npx skills add https://github.com/mpiton/tauri-pilot --skill tauri-pilot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Tauri v2 applications use system WebViews (WebKitGTK on Linux, WebKit on macOS, WebView2 on Windows) instead of Chromium, making standard web automation tools like Playwright incompatible. This skill solves that by providing a CLI and debug plugin that communicate over Unix sockets or Named Pipes using JSON-RPC 2.0, enabling AI agents and developers to inspect, interact with, and debug Tauri app UIs in real-time.

Core Features & Use Cases

  • UI Inspection: Capture accessibility snapshots of interactive elements with stable references for precise targeting and minimal token usage.
  • Interaction Automation: Click, fill, type, select, check, scroll, drag, and drop elements using refs, CSS selectors, or coordinates.
  • Verification & Debugging: Assert element state, wait for conditions, watch DOM mutations, capture screenshots, and inspect console logs and network requests.
  • Use Case: An AI agent can snapshot a Tauri app's dashboard, identify a filter input by its ref, fill it with a search term, press Enter, wait for results to load, and assert the correct number of results appears.

Quick Start

Use the tauri-pilot skill to inspect the running Tauri app by taking an interactive snapshot, then click the element with ref @e3 and verify the result with an assertion.

Frequently Asked Questions about tauri-pilot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate testing for Tauri v2 desktop apps using system WebViews?

Automated UI testing for Tauri v2 desktop apps is handled via a CLI and debug plugin communicating over Unix sockets or Named Pipes using JSON-RPC 2.0. This enables real-time inspection and interaction across Linux, macOS, and Windows system WebViews.

Why does Playwright not work with Tauri applications?

Playwright is incompatible with Tauri applications because Tauri uses system WebViews like WebKitGTK, WebKit, and WebView2 instead of Chromium. The tauri-pilot approach bypasses this by communicating over Unix sockets or Named Pipes using JSON-RPC 2.0.

Can I capture UI snapshots and interact with elements in a Tauri app?

You can capture accessibility snapshots of interactive elements with stable references in a Tauri app. These refs allow precise targeting for interactions like clicking, filling, typing, selecting, and dragging while minimizing token usage.

How do I verify and debug Tauri app interfaces during automated testing?

Verifying and debugging Tauri app interfaces involves asserting element states, waiting for specific conditions, watching DOM mutations, capturing screenshots, and inspecting console logs and network requests via the CLI.

Does Tauri UI testing support cross-platform desktop environments?

Tauri UI testing supports cross-platform desktop environments including Linux, macOS, and Windows. It interfaces directly with the respective system WebViews: WebKitGTK on Linux, WebKit on macOS, and WebView2 on Windows.

What is the best way to inspect a Tauri app dashboard with an AI agent?

The best way to inspect a Tauri app dashboard with an AI agent is taking an interactive accessibility snapshot, identifying elements by their refs, and automating interactions like filling inputs and asserting loaded results via the CLI.