Configuration
Complete guide to configuring @wdio/tauri-service in your WebdriverIO setup.
Service Configuration
Add the Tauri service to your wdio.conf.ts:
export const config = {
services: [
['@wdio/tauri-service', {
// Service options go here
autoInstallTauriDriver: true,
autoDownloadEdgeDriver: true,
captureBackendLogs: true,
captureFrontendLogs: true,
}]
],
// ... rest of config
};
Service Options
appBinaryPath (string, optional)
Path to the compiled Tauri application binary (executable).
Example:
appBinaryPath: './src-tauri/target/release/my-app.exe', // Windows
appBinaryPath: './src-tauri/target/release/my-app', // Linux
Default: Auto-detected from capabilities if not provided
Note: Path should be absolute or relative to the WebdriverIO config directory.
appArgs (string[], optional)
Command-line arguments to pass to the Tauri application when launching. Each array element is passed as a separate argument — no shell parsing is applied.
Example:
appArgs: ['--debug', '--log-level', 'debug']
// For key=value style arguments, use either form:
appArgs: ['--window-size', '1920,1080'] // Two separate elements
appArgs: ['--window-size=1920,1080'] // Single element with equals
Default: []