Skip to content

fix(driver): BiDi capability stripping, send keys text field, startup readiness - #15935

Open
gronke wants to merge 3 commits into
tauri-apps:devfrom
gronke:fix/tauri-driver-papercuts
Open

fix(driver): BiDi capability stripping, send keys text field, startup readiness#15935
gronke wants to merge 3 commits into
tauri-apps:devfrom
gronke:fix/tauri-driver-papercuts

Conversation

@gronke

@gronke gronke commented Aug 29, 2026

Copy link
Copy Markdown
Member

Three fixes for driving a Tauri app through tauri-driver on Linux with modern WebDriver clients.

Verified locally against WebKitWebDriver 2.52.3: forwarded session bodies have webSocketUrl removed, legacy send-keys bodies gain text, /status proxies as soon as the port opens, and a crashing native driver exits tauri-driver with an error.

Closes #15934

gronke and others added 3 commits August 28, 2026 17:38
Adapted from tauri-apps#15605 (fixes tauri-apps#15415).
WebdriverIO 9+ auto-injects webSocketUrl to negotiate BiDi, which
tauri-driver cannot proxy and pre-2.46 WebKitGTK rejects.
Adapted from tauri-apps#15876 (fixes tauri-apps#15871).
WebKitWebDriver 2.52+ rejects Element Send Keys bodies that only
carry the legacy JSON Wire Protocol value array.

Co-authored-by: TheRodzz <81969589+TheRodzz@users.noreply.github.com>
Based on the unmerged upstream fix/wait-webdriver branch, with a
bounded timeout and child crash detection (tauri-apps#15156).
@gronke
gronke requested a review from a team as a code owner August 29, 2026 06:50
@gronke gronke added the scope: webdriver tauri-driver tool and other items related to WebDriver label Aug 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through ed37e06

There are 14 changes which include tauri with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-build with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-bundler with minor, tauri-macos-sign with minor, @tauri-apps/api with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.11.1 2.12.0
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.12.0
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: webdriver tauri-driver tool and other items related to WebDriver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: no CDP, so no automated UI verification of a Tauri app

1 participant