chip 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
..
src 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
.gitignore 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
.license_template 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
Cargo.lock 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
Cargo.toml 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
LICENSE.spdx 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
LICENSE_APACHE-2.0 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
LICENSE_MIT 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө
README.md 4b2aa35684 Add back WebDriver support (#2324) 4 жил өмнө

README.md

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.

Trying it out

Until this branch is merged into Tauri dev, this code works for pure wry applications only.

Currently, this uses a branch on wry feat/webdriver. The support for automated actions goes all the way down to wry with no real layer for just Tauri yet. For Windows, the wry branch only supports the win32 backend and not winrt, unless you are okay with the webview not being closable by the webdriver.