Skip to content
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

Add gecko driver versions 0.30.0 and 0.31.0 #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/webdrivermanager/gecko.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_compatible_version(self):
# Map browser version to webdriver version
# https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html
browser_version = self._get_browser_version()
version_map = [(60, "v0.29.0"), (57, "v0.25.0"), (55, "v0.20.1"), (53, "v0.18.0"), (52, "v0.17.0")]
version_map = [(91, "v0.31.0"), (78, "v0.30.0"), (60, "v0.29.1"), (57, "v0.25.0"), (55, "v0.20.1"), (53, "v0.18.0"), (52, "v0.17.0")]

for browser_minimum, driver_version in version_map:
if browser_version >= browser_minimum:
Expand Down