Skip to content

Commit 3b4c2a1

Browse files
authored
Fix #34 incorrect timeout logging (#35)
1 parent 36c8277 commit 3b4c2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Aquality.Selenium.Core/src/Aquality.Selenium.Core/Waitings/ConditionalWait.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void WaitForTrue(Func<bool> condition, TimeSpan? timeout = null, TimeSpan
109109

110110
if (stopwatch.Elapsed > waitTimeout)
111111
{
112-
var exceptionMessage = $"Timed out after {waitTimeout.Seconds} seconds";
112+
var exceptionMessage = $"Timed out after {waitTimeout.TotalSeconds} seconds";
113113
if (!string.IsNullOrEmpty(message))
114114
{
115115
exceptionMessage += $": {message}";

0 commit comments

Comments
 (0)