From 2428a16e965e08a3694423d2ea5577af0ba62e39 Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Sun, 14 Apr 2024 12:15:23 +0200
Subject: [PATCH] =?UTF-8?q?RAAspotter:=20ajoute=20un=20d=C3=A9lai=20avant?=
 =?UTF-8?q?=20de=20retenter=20une=20connexion=20avec=20Selenium?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 RAAspotter.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/RAAspotter.py b/RAAspotter.py
index acf2a99..d1f83cc 100644
--- a/RAAspotter.py
+++ b/RAAspotter.py
@@ -344,6 +344,7 @@ class RAAspotter:
             except TimeoutException as exc:
                 logger.warning(f'TimeoutException: {exc}')
                 if remaining_retries > 0:
+                    time.sleep(5)
                     return self.get_session(url, wait_element, (remaining_retries - 1))
                 else:
                     raise TimeoutException(exc)
-- 
GitLab