DefaultWaitTUntilTResult Method WebDriver
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

Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax

public TResult Until<TResult>(
	Func<T, TResult> condition
)

Parameters

condition
Type: SystemFuncT, TResult
A delegate taking an object of type T as its parameter, and returning a TResult.

Type Parameters

TResult
The delegate's expected return type.

Return Value

Type: TResult
The delegate's return value.

Implements

IWaitTUntilTResult(FuncT, TResult)
See Also

Reference