Skip to content

Commit 1a06dcb

Browse files
authored
Merge pull request #226 from seleniumbase/update-driver-installation
Update driver installation
2 parents e80cd92 + 699f89e commit 1a06dcb

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

seleniumbase/console_scripts/sb_install.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def main():
8282
latest_version = "2.40"
8383
download_url = ("http://chromedriver.storage.googleapis.com/"
8484
"%s/%s" % (latest_version, file_name))
85-
# Chromedriver 2.41 (latest) may have issues. Forcing 2.40 for now.
85+
# Forcing Chromedriver v2.40 for now, even though it's not the latest.
8686
get_latest = False
8787
if get_latest:
8888
last = "http://chromedriver.storage.googleapis.com/LATEST_RELEASE"
@@ -97,7 +97,7 @@ def main():
9797
"%s/%s" % (latest_version, file_name))
9898
print("Found %s" % download_url)
9999
elif name == "geckodriver" or name == "firefoxdriver":
100-
latest_version = "v0.22.0"
100+
latest_version = "v0.23.0"
101101
if "darwin" in sys_plat:
102102
file_name = "geckodriver-%s-macos.tar.gz" % latest_version
103103
elif "linux" in sys_plat:
@@ -106,9 +106,7 @@ def main():
106106
file_name = "geckodriver-%s-linux64.tar.gz" % latest_version
107107
else:
108108
file_name = "geckodriver-%s-linux32.tar.gz" % latest_version
109-
elif "win32" in sys_plat:
110-
file_name = "geckodriver-%s-win32.zip" % latest_version
111-
elif "win64" in sys_plat or "x64" in sys_plat:
109+
elif "win32" in sys_plat or "win64" in sys_plat or "x64" in sys_plat:
112110
file_name = "geckodriver-%s-win64.zip" % latest_version
113111
else:
114112
raise Exception("Cannot determine which version of Geckodriver "

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='seleniumbase',
20-
version='1.16.9',
20+
version='1.16.10',
2121
description='All-In-One Test Automation Framework',
2222
long_description=long_description,
2323
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)