mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-04 18:20:09 +00:00
chrome and chromedriver can (and should, look at docker-compose.yml) be configured through environment variables
This commit is contained in:
parent
84c618678a
commit
bdd7e34b8c
@ -129,7 +129,7 @@ def create_driver(
|
|||||||
else:
|
else:
|
||||||
chrome_options.add_extension(crx_path)
|
chrome_options.add_extension(crx_path)
|
||||||
|
|
||||||
chromedriver_path = "/usr/bin/chromedriver"
|
chromedriver_path = os.environ.get("CHROMEDRIVER_PATH")
|
||||||
if not os.path.exists(chromedriver_path):
|
if not os.path.exists(chromedriver_path):
|
||||||
chromedriver_path = chromedriver_autoinstaller.install()
|
chromedriver_path = chromedriver_autoinstaller.install()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user