[build] keep pre-installed browsers on Windows, delete only drivers#17650
Conversation
Review Summary by QodoKeep pre-installed browsers on Windows, delete only drivers
WalkthroughsDescription• Keep pre-installed browsers on Windows, delete only drivers • Prevents corrupted Firefox installations from breaking Selenium Manager • Windows browser deletion is slow and unreliable, leaving partial installs • Selenium Manager still exercises driver download path with system browsers Diagramflowchart LR
A["Windows CI Environment"] -->|Previously| B["Delete browsers and drivers"]
B -->|Result| C["Corrupted Firefox breaks Selenium Manager"]
A -->|Now| D["Delete only drivers"]
D -->|Result| E["Selenium Manager downloads clean drivers"]
E -->|Uses| F["Pre-installed system browsers"]
File Changes1. scripts/github-actions/delete-browsers-drivers.ps1
|
Code Review by Qodo
1.
|
|
Code review by qodo was updated up to the latest commit 896f53c |
Seeing some failures where the Windows deletion script results in a corrupted Firefox which breaks Selenium Manager.
💥 What does this PR do?
Deleting browsers on Windows isn't as reliable, so this changes the script to only delete the drivers. This
still exercises Selenium Manager, just using a different path; use system browsers and download correct drivers
🤖 AI assistance
🔄 Types of changes