Skip to content

Preserve iOS and Safari WebDriver sessions across commands - #22

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-management-7c04
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-management-7c04

Conversation

@cursor

@cursor cursor Bot commented Aug 22, 2026

Copy link
Copy Markdown

Bug

After an iOS or Safari launch, command dispatch treated the missing CDP BrowserManager as a missing browser. It implicitly launched local Chrome, routed subsequent actions away from WebDriver, and repeated provider launches replaced sessions without cleanup.

Fix

Treat WebDriver as an active browser backend, reuse compatible iOS and Safari provider sessions, and centralize WebDriver/Appium/SafariDriver cleanup when changing or closing backends.

Validation

  • Added regression tests for implicit launch suppression, compatible provider reuse, and cleanup
  • cargo +stable test (899 unit tests and 2 CLI tests passed)
  • cargo +stable clippy --all-targets passed with existing Rust 1.98-only lint categories allowed
Open in Web View Automation 

Co-authored-by: seanmcd15 <seanmcd15@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant