DefaultWait T  Until TResult  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: 2.35.0.0 (2.35.0.0)
Syntax

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

Parameters

condition
Type: OnlineSystem Func T, 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

The delegate's return value.

Implements

IWait TSource  Until TResult (Func TSource, TResult )
See Also