From 4b34c42e4ded66acc40edbb65bb9cf168db01a86 Mon Sep 17 00:00:00 2001 From: mxrch Date: Mon, 18 Jan 2021 15:17:46 +0100 Subject: [PATCH] fix issue #149 (autoinstaller identified as chrome driver in virtualenv) --- lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.py b/lib/utils.py index 14d6220..a2055b4 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -90,7 +90,7 @@ def sanitize_location(location): def get_driverpath(): tmprinter = TMPrinter() - drivers = [str(x.absolute()) for x in Path('.').rglob('chromedriver*')] + drivers = [str(x.absolute()) for x in Path('.').rglob('chromedriver*') if not "chromedriver_autoinstaller" in str(x)] if drivers: return drivers[0] else: