From 2e23b46f7739d3ec243f6a85cfbd38a3a5f91e8b Mon Sep 17 00:00:00 2001 From: Ladislav Vasina Date: Tue, 27 Feb 2024 15:51:44 +0100 Subject: [PATCH] Improve stability of before_fill function --- airgun/views/host.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airgun/views/host.py b/airgun/views/host.py index 7ddb3cf77..2e6ccce15 100644 --- a/airgun/views/host.py +++ b/airgun/views/host.py @@ -1,4 +1,5 @@ import re +import time from wait_for import wait_for from widgetastic.utils import ParametrizedLocator @@ -569,6 +570,7 @@ def before_fill(self, values): logger=self.logger, ) self.general.__getattribute__(field).fill(field_value) + time.sleep(1) class RecommendationWidget(GenericLocatorWidget):