summaryrefslogtreecommitdiffstats
path: root/g4f/webdriver.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-05 14:33:58 +0200
committerGitHub <noreply@github.com>2024-04-05 14:33:58 +0200
commitb7ccb9500d1382a023f8bf642e8700acba418f3d (patch)
tree330af2cf14aa91174a05c8f6fa1c2b04ace6d51b /g4f/webdriver.py
parentAktualisieren von api.py (diff)
downloadgpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar.gz
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar.bz2
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar.lz
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar.xz
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.tar.zst
gpt4free-b7ccb9500d1382a023f8bf642e8700acba418f3d.zip
Diffstat (limited to 'g4f/webdriver.py')
-rw-r--r--g4f/webdriver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/webdriver.py b/g4f/webdriver.py
index 044ae03d..f392cacc 100644
--- a/g4f/webdriver.py
+++ b/g4f/webdriver.py
@@ -65,7 +65,7 @@ def get_browser(
WebDriver: An instance of WebDriver configured with the specified options.
"""
if not has_requirements:
- raise MissingRequirementsError('Install "undetected_chromedriver" and "platformdirs" package')
+ raise MissingRequirementsError('Webdriver packages are not installed | pip install -U g4f[webdriver]')
browser = find_chrome_executable()
if browser is None:
raise MissingRequirementsError('Install "Google Chrome" browser')