Update the default webdriver search path
This commit is contained in:
parent
6ca0360973
commit
970e9358de
|
@ -21,7 +21,7 @@ from seleniumbase import extensions # browser extensions storage folder
|
|||
urllib3.disable_warnings()
|
||||
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
|
||||
if DRIVER_DIR not in os.environ["PATH"]:
|
||||
os.environ["PATH"] += os.pathsep + DRIVER_DIR
|
||||
os.environ["PATH"] = DRIVER_DIR + os.pathsep + os.environ["PATH"]
|
||||
EXTENSIONS_DIR = os.path.dirname(os.path.realpath(extensions.__file__))
|
||||
DISABLE_CSP_ZIP_PATH = "%s/%s" % (EXTENSIONS_DIR, "disable_csp.zip")
|
||||
PROXY_ZIP_PATH = proxy_helper.PROXY_ZIP_PATH
|
||||
|
|
Loading…
Reference in New Issue