mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-23 08:54:24 +01:00
Update web_selenium.py
This commit is contained in:
@@ -67,7 +67,6 @@ def scrape_text_with_selenium(url: str) -> tuple[WebDriver, str]:
|
|||||||
"user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.49 Safari/537.36"
|
"user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.49 Safari/537.36"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if CFG.selenium_web_browser == "firefox":
|
if CFG.selenium_web_browser == "firefox":
|
||||||
driver = webdriver.Firefox(
|
driver = webdriver.Firefox(
|
||||||
executable_path=GeckoDriverManager().install(), options=options
|
executable_path=GeckoDriverManager().install(), options=options
|
||||||
|
|||||||
Reference in New Issue
Block a user