Aktualisieren von webdriver.py

This commit is contained in:
H Lohaus 2024-04-05 14:33:58 +02:00 committed by GitHub
parent e2c11d233a
commit b7ccb9500d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')