Edge WebDriver on Windows
Overview
On Windows, Tauri applications use Microsoft Edge WebView2, which requires msedgedriver.exe for WebDriver automation. The tauri-service automatically handles Edge WebDriver version matching to prevent version mismatch errors.
The Problem
Tauri tests fail on Windows when your Edge browser version doesn't match the installed msedgedriver version:
Error: This version of Microsoft Edge WebDriver only supports Microsoft Edge version 144.
Current browser version is 143.0.3650.139
The Solution
The tauri-service automatically:
- Detects your Edge browser version from Windows registry
- Checks if a matching msedgedriver.exe exists
- Downloads the correct version if needed (enabled by default)
- Configures PATH to use the downloaded driver