diff --git a/g4f/webdriver.py b/g4f/webdriver.py index 044ae03d2dd..f392cacc73e 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')