wait for timeout after exec?

This commit is contained in:
dgtlmoon
2023-10-25 11:26:37 +02:00
parent cbb70ada94
commit d43924f316
+1
View File
@@ -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()