-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[rust] Electron support in Selenium-Manager (#13954) #15752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
🔗 Related Issues
This PR implements the Rust side of #13954.
💥 What does this PR do?
This PR makes Selenium Manager to support Electron. As requested in #13954, Selenium Manager downloads the driver for Electron (i.e., chromedriver) from https://github.com/electron/electron/releases. If no driver version is specified, Selenium Manager downloads the latest.
🔧 Implementation Notes
Output examples:
💡 Additional Considerations
The bindings will use this feature.
🔄 Types of changes
PR Type
Enhancement, Tests
Description
Add Electron browser support to Selenium Manager (Rust)
Update CLI and documentation to mention Electron support
Add tests for Electron driver download and version selection
Changes walkthrough 📝
electron.rs
Add ElectronManager for Electron driver support
rust/src/electron.rs
logic
lib.rs
Integrate ElectronManager into SeleniumManager logic
rust/src/lib.rs
main.rs
Document Electron as supported browser in CLI
rust/src/main.rs
electron_tests.rs
Add tests for Electron driver support
rust/tests/electron_tests.rs
firefox.rs
Use shared LATEST_RELEASE constant for Firefox
rust/src/firefox.rs