skills/smithery.ai/tauri-ipc-browser-testing-limitation

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__ is undefined in browser console
Installs
1
First Seen
Apr 16, 2026
tauri-ipc-browser-testing-limitation from smithery.ai