Skip to content

Commit

Permalink
Improve stability of before_fill function
Browse files Browse the repository at this point in the history
  • Loading branch information
LadislavVasina1 authored and pondrejk committed Feb 29, 2024
1 parent 375868f commit 478a2bf
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 @@ -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):
Expand Down

0 comments on commit 478a2bf

Please sign in to comment.