Quick Start
Get up and running with WebdriverIO and Tauri E2E testing in minutes.
Prerequisites
Required Software
-
Node.js 18+ - Download from nodejs.org
-
Rust Toolchain - Required for building Tauri apps and tauri-driver
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -
Tauri CLI - Install globally or as dev dependency
npm install -g @tauri-apps/cli
# or
cargo install tauri-cli
Platform-Specific Requirements
Windows
- Microsoft Visual C++ Build Tools - Download from Microsoft Visual C++
- Edge WebDriver - Auto-managed by the service (see Edge WebDriver Windows)
Linux
- WebKitGTK Development Libraries - Install WebKitWebDriver
# Debian/Ubuntu
sudo apt-get install -y webkit2gtk-driver
# Fedora 40+
sudo dnf install -y webkit2gtk-driver
# Arch Linux
sudo pacman -S webkit2gtk-4.1
# Void Linux
sudo xbps-install -y webkit2gtk-devel
See Platform Support for detailed distribution support information.
macOS
✅ Supported - Use the embedded WebDriver provider (driverProvider: 'embedded') for native macOS testing without external dependencies. See Platform Support for details.
Setting Up a Tauri App
Fastest Way: Use Tauri CLI
npm create tauri-app@latest
Follow the prompts and select your preferred frontend framework.
Manual Setup
Create a minimal Tauri app:
mkdir my-tauri-app
cd my-tauri-app
# Create frontend (use any framework or plain HTML)
mkdir src
echo '<h1>Hello, Tauri!</h1>' > src/index.html
# Create Rust backend
cargo init --name my_app src-tauri
cd src-tauri
# Add Tauri to Cargo.toml
# [dependencies]
# tauri = { version = "2.9", features = ["shell-open"] }
# tauri-build = "2.0"