tauri-plugin-hasgard 0.2.1

Native automation and testing bridge for Tauri 2 applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# tauri-plugin-hasgard

Tauri v2 plugin for runtime UI testing and automation via Unix socket JSON-RPC.

This crate is the in-process debug bridge used by the complete
[Tauri Hasgard](https://github.com/nyssance/tauri-hasgard) automation toolchain.
It is not the whole product and is inert in release builds.

Register the plugin and grant `hasgard:default` in the Tauri capability covering every webview under test:

```json
{
  "windows": ["*"],
  "permissions": ["hasgard:default"]
}
```

This permission enables the internal eval-result callbacks. Without it, Hasgard can connect to the native server but cannot return WebView evaluation results.