File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,11 @@ def main(override=None, intel_for_uc=None):
229229 else :
230230 invalid_run_command ()
231231 if "darwin" in sys_plat :
232- if "arm" in platform .processor ().lower () and not intel_for_uc :
232+ if (
233+ "arm" in platform .processor ().lower ()
234+ and not intel_for_uc
235+ and int (use_version ) > 105
236+ ):
233237 file_name = "chromedriver_mac_arm64.zip"
234238 else :
235239 file_name = "chromedriver_mac64.zip"
@@ -396,7 +400,10 @@ def main(override=None, intel_for_uc=None):
396400 file_name = "edgedriver_win32.zip"
397401 suffix = "WINDOWS"
398402 elif "darwin" in sys_plat :
399- if "arm" in platform .processor ().lower ():
403+ if (
404+ "arm" in platform .processor ().lower ()
405+ and int (use_version ) > 104
406+ ):
400407 file_name = "edgedriver_mac64_m1.zip"
401408 else :
402409 file_name = "edgedriver_mac64.zip"
You can’t perform that action at this time.
0 commit comments