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

Method Until

dotnet/src/webdriver/Support/IWait{T}.cs:60–61  ·  view source on GitHub ↗

Waits until a condition is true or times out. The type of result to expect from the condition. A delegate taking a TSource as its parameter, and returning a TResult. If TResult is a boolean, the method returns when the condition is true, and otherwise.

(Func<T, TResult?> condition)

Source from the content-addressed store, hash-verified

58 /// If TResult is an object, the method returns the object when the condition evaluates to a value other than <see langword="null"/>.</returns>
59 /// <exception cref="ArgumentException">Thrown when TResult is not boolean or an object type.</exception>
60 [return: NotNull]
61 TResult Until<TResult>(Func<T, TResult?> condition);
62}

Calls

no outgoing calls