activator: Use chromedriver from PATH

Use chromedriver from PATH env variable instead of current working directory
This commit is contained in:
Radostin Stoyanov 2018-01-21 22:52:46 +00:00 committed by GitHub
parent 4384495043
commit fdb29f4aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,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)