From d43924f3165848df23a9daf110fa12041f967d29 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 25 Oct 2023 11:26:37 +0200 Subject: [PATCH] wait for timeout after exec? --- changedetectionio/content_fetcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index afba0918..63bad12a 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -480,6 +480,7 @@ class base_html_playwright(Fetcher): if self.webdriver_js_execute_code is not None and len(self.webdriver_js_execute_code): response = browsersteps_interface.action_execute_js(value=self.webdriver_js_execute_code) + self.page.wait_for_timeout(1 * 1000) except playwright._impl._api_types.TimeoutError as e: context.close()