Skip to content

add ability to retrieve latest stable version #63

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hunterlawson
Copy link

Been using this crate recently so I'm going to drop this in here in case anyone wants to take a look.

For chromedriver, the latest versions require developer versions of chrome to be installed. The stable versions do not have this requirement and work with the normal chrome installation versions that would be more common on users' machines.

I didn't mess with the existing public API in this PR but just created a minimum viable working version. It would be nice to have an API like this though:

let version = Version::Latest; // Version::Latest, Version::Stable, Version::Dev, etc.
Driver::Chrome.install_version(version);

I might get around to creating that if I can find some time.

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