From 7acdf6bc77409249957542645e166386217cf05d Mon Sep 17 00:00:00 2001 From: Luciano Gervasoni Date: Mon, 7 Apr 2025 09:51:58 +0200 Subject: [PATCH] Debugging selenium app 2 --- app_selenium/missing_kids.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app_selenium/missing_kids.py b/app_selenium/missing_kids.py index 32d735e..c94084d 100644 --- a/app_selenium/missing_kids.py +++ b/app_selenium/missing_kids.py @@ -18,9 +18,10 @@ class MissingKidsFetcher(): # URLs set_urls = set() + # Initialize + driver = webdriver.Chrome(options=get_chrome_options()) + try: - # Initialize - driver = webdriver.Chrome(options=get_chrome_options()) # Go to URL driver.get(url) # Iterate