mirror of
https://github.com/inAudible-NG/audible-activator.git
synced 2024-11-18 03:18:57 +01:00
activator: Use chromedriver from PATH
Use chromedriver from PATH env variable instead of current working directory
This commit is contained in:
parent
4384495043
commit
fdb29f4aa2
@ -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 = "chromedriver"
|
||||||
|
|
||||||
driver = webdriver.Chrome(chrome_options=opts,
|
driver = webdriver.Chrome(chrome_options=opts,
|
||||||
executable_path=chromedriver_path)
|
executable_path=chromedriver_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user