Skip to content

Commit a8b8223

Browse files
committed
Update default Geckodriver on Windows for compatibility
1 parent 17ca3fe commit a8b8223

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/console_scripts/sb_install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ def main(override=None):
152152
raise Exception("Could not find chromedriver to download!\n")
153153
elif name == "geckodriver" or name == "firefoxdriver":
154154
use_version = DEFAULT_GECKODRIVER_VERSION
155+
if "win32" in sys_plat or "win64" in sys_plat or "x64" in sys_plat:
156+
use_version = "v0.24.0"
155157
found_geckodriver = False
156158
if num_args == 4 or num_args == 5:
157159
if "-p" not in sys.argv[3].lower():

0 commit comments

Comments
 (0)