tauri/tooling/webdriver
Amr Bashir f4d5241b37
chore: cleanup unnecessary scripts and files (#10731)
* chore: cleanup unnecessary scripts and files

- Removed `.cargo/config` and `__TAURI_WORKSPACE__` workaround
- Removed husky and precommit hooks
- Remove unecessary script files
- Moved `.scripts/covector/sync-cli-metadata.js` to `.scripts/ci/sync-cli-metadata.js`
- Moved `app-icon.png` to `.github/icon.png`
- Enhanced has-diff.sh script to output which files are modified

* lock file

* bring back __TAURI_WORKSPACE__

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-08-22 07:56:52 -03:00
..
src chore: cleanup unnecessary scripts and files (#10731) 2024-08-22 07:56:52 -03:00
.gitignore Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
Cargo.lock chore(deps): bump mio from 0.8.8 to 0.8.11 in /tooling/webdriver (#9077) 2024-03-05 14:35:48 -03:00
Cargo.toml Apply Version Updates From Current Changes (#8638) 2024-02-03 10:59:09 -03:00
CHANGELOG.md Apply Version Updates From Current Changes (#8638) 2024-02-03 10:59:09 -03:00
LICENSE_APACHE-2.0 Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
LICENSE_MIT Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
LICENSE.spdx Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
README.md chore: run pnpm format on the repo 2024-02-03 11:08:13 -03:00

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

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