chg: chromedriver path for Ubuntu 17.10 deb package

Signed-off-by: Me <corbolais@gmail.com>
This commit is contained in:
Me 2018-03-11 23:01:50 +01:00
parent ca0cfc223f
commit 74da2f0d97

View File

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