tauri-browser
A CLI + Tauri plugin for automating and inspecting Tauri apps.
Install
Usage
Add the plugin to your Tauri app behind a feature flag:
# Cargo.toml
[]
= { = "0.1", = true }
[]
= ["tauri-plugin-debug-bridge"]
// src-tauri/src/lib.rs
app.handle.plugin?;
Add the permission to capabilities/default.json:
"debug-bridge:default"
Run your app with the feature enabled:
Then use the CLI:
Architecture
tauri-browser (CLI) ◄──── HTTP/WS ────► tauri-plugin-debug-bridge (in-app)
localhost:9229
The plugin starts a local HTTP+WS server inside your Tauri app. The CLI talks to it. No app code changes needed beyond plugin registration.
License
MIT