Skip to content

Commit 8f740df

Browse files
committed
Fix issue with msedgedriver on Linux
1 parent 4d75b5e commit 8f740df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2458,7 +2458,10 @@ def get_local_driver(
24582458
chromium_arg_item = "-" + chromium_arg_item
24592459
else:
24602460
chromium_arg_item = "--" + chromium_arg_item
2461-
if "set-binary" in chromium_arg_item and not binary_location:
2461+
if (
2462+
(IS_LINUX or "set-binary" in chromium_arg_item)
2463+
and not binary_location
2464+
):
24622465
br_app = "edge"
24632466
binary_loc = detect_b_ver.get_binary_location(br_app)
24642467
if os.path.exists(binary_loc):

0 commit comments

Comments
 (0)