Skip to content

Commit 970e935

Browse files
committed
Update the default webdriver search path
1 parent 6ca0360 commit 970e935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
urllib3.disable_warnings()
2222
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
2323
if DRIVER_DIR not in os.environ["PATH"]:
24-
os.environ["PATH"] += os.pathsep + DRIVER_DIR
24+
os.environ["PATH"] = DRIVER_DIR + os.pathsep + os.environ["PATH"]
2525
EXTENSIONS_DIR = os.path.dirname(os.path.realpath(extensions.__file__))
2626
DISABLE_CSP_ZIP_PATH = "%s/%s" % (EXTENSIONS_DIR, "disable_csp.zip")
2727
PROXY_ZIP_PATH = proxy_helper.PROXY_ZIP_PATH

0 commit comments

Comments
 (0)