MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Until

Method Until

dotnet/src/webdriver/Support/DefaultWait{T}.cs:111–115  ·  view source on GitHub ↗

Repeatedly applies this instance's input value to the given function until one of the following occurs: the function returns neither null nor false the function throws an exception that is not in the list of ignored exception types the timeout expires The delegate's exp

(Func<T, TResult?> condition)

Source from the content-addressed store, hash-verified

109 /// <param name="condition">A delegate taking an object of type T as its parameter, and returning a TResult.</param>
110 /// <returns>The delegate's return value.</returns>
111 [return: NotNull]
112 public virtual TResult Until<TResult>(Func<T, TResult?> condition)
113 {
114 return Until(condition, CancellationToken.None);
115 }
116
117 /// <summary>
118 /// Repeatedly applies this instance's input value to the given function until one of the following

Callers

nothing calls this directly

Calls 6

IsIgnoredExceptionMethod · 0.95
ThrowTimeoutExceptionMethod · 0.95
conditionFunction · 0.85
FormatMethod · 0.80
LaterByMethod · 0.45
IsNowBeforeMethod · 0.45

Tested by

no test coverage detected