C# Syntax
[Extension()] public static bool WaitUntil<T>( this T testObject, Func<T,bool> funcToRun ) where T: ITestObject
Parameters
- testObject
- The test object that is passed to the funcToRun function.
- funcToRun
- A function returning a boolean result. The function runs until the function result is true, or until the object synchronization timeout elapses.
Type Parameters
- T
- A class implementing ITestObject
Return Value