From d2e29f85d28004b17cef0f424b8e86966b36115e Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Thu, 16 Jun 2022 18:45:47 +0200 Subject: [PATCH] selenium: quit and close --- configs/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/config.py b/configs/config.py index 78a5090..bb4ca9b 100644 --- a/configs/config.py +++ b/configs/config.py @@ -210,6 +210,7 @@ class Config: def destroy_webdriver(self): if self.webdriver is not None and type(self.webdriver) != str: + self.webdriver.close() self.webdriver.quit() del self.webdriver