From 1dccedafad66c80281359e620d67a883f4f4fcf4 Mon Sep 17 00:00:00 2001 From: Mike Stucka Date: Tue, 24 Dec 2024 12:26:21 -0500 Subject: [PATCH] Verbose chromedriver logging --- warn/scrapers/va.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/warn/scrapers/va.py b/warn/scrapers/va.py index e737140..6506706 100644 --- a/warn/scrapers/va.py +++ b/warn/scrapers/va.py @@ -128,7 +128,9 @@ def scrape( ) logger.debug(f"Chrome install variable is {chrome_install}") service = ChromeService(chrome_install) - driver = webdriver.Chrome(options=chromeoptionsholder, service=service) + driver = webdriver.Chrome( + options=chromeoptionsholder, service=service, service_args=["--verbose"] + ) logger.debug(f"Attempting to fetch {csv_url}") driver.get(csv_url)