#tauri #driver #applications #webview #pre-alpha

app tauri-driver

Webdriver server for Tauri applications

12 releases (5 stable)

2.0.4 Apr 15, 2025
2.0.3 Jan 25, 2025
2.0.1 Oct 3, 2024
0.1.5 Aug 22, 2024
0.0.0 Jun 23, 2021

#1016 in GUI

Download history 384/week @ 2025-01-10 254/week @ 2025-01-17 301/week @ 2025-01-24 222/week @ 2025-01-31 208/week @ 2025-02-07 203/week @ 2025-02-14 281/week @ 2025-02-21 222/week @ 2025-02-28 220/week @ 2025-03-07 232/week @ 2025-03-14 238/week @ 2025-03-21 449/week @ 2025-03-28 525/week @ 2025-04-04 778/week @ 2025-04-11 685/week @ 2025-04-18 476/week @ 2025-04-25

2,569 downloads per month

Apache-2.0 OR MIT

18KB
331 lines

tauri-driver (pre-alpha)

Cross-platform WebDriver server for Tauri applications.

This is a WebDriver Intermediary Node that wraps the native WebDriver server for platforms that Tauri supports. Your WebDriver client will connect to the running tauri-driver server, and tauri-driver will handle starting the native WebDriver server for you behind the scenes. It requires two separate ports to be used since two distinct WebDriver Remote Ends run.

You can configure the ports used with arguments when starting the binary:

  • --port (default: 4444)
  • --native-port (default: 4445)

Supported platforms:

note: the (probably) items haven't been proof-of-concept'd yet, and if it is not possible to use the listed native webdriver, then a custom implementation will be used that wraps around wry.

Installation

You can install tauri-driver using Cargo:

cargo install tauri-driver --locked

Trying it out

Check out the documentation at https://tauri.app/develop/tests/webdriver/, including a small example application with WebDriver tests.

Dependencies

~8–36MB
~563K SLoC