tauri-ipc-browser-testing-limitation
Installation
SKILL.md
Tauri IPC Browser Testing Limitation
Problem
Tauri commands invoked via @tauri-apps/api/core fail silently when the app is accessed
through a regular browser (e.g., Playwright automation at localhost:1420) instead of the
actual Tauri webview. The invoke() calls return empty results or fail without errors.
Context / Trigger Conditions
Symptoms:
invoke('command_name', {...})returns undefined or empty arrays- No console errors visible
- React Query shows "No results found" for queries that should work
window.__TAURI__isundefinedin browser console