From 4fa97e92189b85e5ee15ec80bdcbedb35d07e0be Mon Sep 17 00:00:00 2001 From: Peter Svensson Date: Sun, 16 Apr 2023 17:59:47 +0200 Subject: [PATCH] remvoed options so that @pi can merge this and another commit easily --- autogpt/commands/web_selenium.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/autogpt/commands/web_selenium.py b/autogpt/commands/web_selenium.py index 021d149c..9b64ac2e 100644 --- a/autogpt/commands/web_selenium.py +++ b/autogpt/commands/web_selenium.py @@ -64,13 +64,7 @@ def scrape_text_with_selenium(url: str) -> Tuple[WebDriver, str]: options.add_argument( "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" ) - options.add_argument( - '--no-sandbox' - ) - options.add_argument( - '--headless' - ) - + if CFG.selenium_web_browser == "firefox": driver = webdriver.Firefox( executable_path=GeckoDriverManager().install(), options=options