Skip to content

Commit

Permalink
Improve stability of before_fill function
Browse files Browse the repository at this point in the history
(cherry picked from commit 478a2bf)
  • Loading branch information
LadislavVasina1 authored and web-flow committed Feb 29, 2024
1 parent e75d1f9 commit 7e2dded
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airgun/views/host.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import re
import time

from wait_for import wait_for
from widgetastic.utils import ParametrizedLocator
Expand Down Expand Up @@ -571,6 +572,7 @@ def before_fill(self, values):
logger=self.logger,
)
self.general.__getattribute__(field).fill(field_value)
time.sleep(1)


class RecommendationWidget(GenericLocatorWidget):
Expand Down

0 comments on commit 7e2dded

Please sign in to comment.