mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-03 01:30:11 +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:
|
||||
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):
|
||||
chromedriver_path = chromedriver_autoinstaller.install()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user