Platform Support
Complete guide to platform-specific requirements, limitations, and WebDriver setup for Tauri testing.
Platform Support Overview
| Platform | Supported | WebDriver | Driver Provider | Setup |
|---|---|---|---|---|
| Windows | ✅ Yes | Microsoft Edge WebDriver | All (official, crabnebula, embedded) | Auto-managed |
| Linux | ✅ Yes | WebKitWebDriver | All (official, crabnebula, embedded) | Manual install |
| macOS | ✅ Yes | Built-in | 'embedded', 'crabnebula' | No external driver needed |
Windows
WebDriver: Microsoft Edge WebDriver
Windows uses the Microsoft Edge WebDriver (msedgedriver.exe) which communicates with the WebView2 runtime embedded in your Tauri app.
Auto-Management (Recommended)
The service automatically:
- Detects the WebView2 version in your Tauri binary
- Downloads the matching MSEdgeDriver if missing
- Handles version mismatches
Configuration:
services: [['@wdio/tauri-service', {
autoDownloadEdgeDriver: true, // Default: true
}]],
Manual Setup
If auto-management fails:
-
Detect your WebView2 version
- Build your app:
cargo build --release - Right-click the .exe → Properties → Details
- Note the "File version" (e.g., 143.0.3650.139)
- Build your app:
-
Download matching MSEdgeDriver
- Visit Microsoft Edge WebDriver
- Download the version matching your WebView2
- Extract to PATH or specify in config
-
Configure WebdriverIO
services: [['@wdio/tauri-service', {
autoDownloadEdgeDriver: false,
tauriDriverPort: 4444,
}]],
Troubleshooting Windows Issues
"This version of Microsoft Edge WebDriver only supports Microsoft Edge version X"
Version mismatch between driver and WebView2. Solutions:
-
Enable auto-download (default):
autoDownloadEdgeDriver: true -
Or manually match versions:
- Check WebView2 version in your binary
- Download corresponding MSEdgeDriver
- Update PATH or config
"msedgedriver.exe not found"
-
Check if installed:
where msedgedriver.exe -
Install or download from Microsoft Edge WebDriver
-
Add to PATH or disable auto-download and specify manually