Skip to content

Commit

Permalink
Fix waiter with polling interval
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Jan 15, 2024
1 parent 315da7b commit 73547ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Yapoml.Playwright/Services/Waiter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public static void Until(Func<bool> condition, TimeSpan timeout, TimeSpan pollin
{
return;
}
else
{
Thread.Sleep(pollingInterval);
}
}
catch (Exception ex)
{
Expand Down

0 comments on commit 73547ad

Please sign in to comment.