changed chromedriver_path to only the executable name

This commit is contained in:
Reidar Cederqvist 2017-05-10 09:24:13 +02:00
parent da9d09e945
commit e6361e1072

View File

@ -51,7 +51,7 @@ def fetch_activation_bytes(username, password, options):
if sys.platform == 'win32':
chromedriver_path = "chromedriver.exe"
else:
chromedriver_path = "./chromedriver"
chromedriver_path = "chromedriver"
driver = webdriver.Chrome(chrome_options=opts,
executable_path=chromedriver_path)