From cca59233b352f9a76d919407281a1cfe18aae8ba 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 (cherry picked from commit 478a2bf83be3d9d397ac0845dffe8f74304c88ba) --- 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):