remvoed options so that @pi can merge this and another commit easily

This commit is contained in:
Peter Svensson
2023-04-16 17:59:47 +02:00
committed by Pi
parent cd78f21b51
commit 4fa97e9218

View File

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