Expand description
Tauri Automation Plugin
Provides HTTP API for external automation of Tauri v2 applications. Enables Claude Code and other tools to control Tauri apps for testing.
Note: Rust crate supports Tauri v2 only. The JavaScript API supports both v1 and v2.
§Usage
tauri-plugin-automation-server = { git = "https://github.com/dcherrera/tauri-plugin-automation" }ⓘ
tauri::Builder::default()
.setup(|app| {
tauri_plugin_automation_server::start_server(app.handle().clone());
Ok(())
})Modules§
- server
- HTTP server for automation commands
Functions§
- receive_
screenshot - Receive screenshot data from JavaScript
- set_
screenshot_ data - Store screenshot data from JavaScript
- start_
server - Start the automation HTTP server
- take_
screenshot_ data - Take screenshot data (clears buffer)