C# Syntax
[Extension()] public static bool WaitUntilEnabled<T>( this T enabledProvider ) where T: IEnabledProvider
Parameters
- testObject
- The test object to wait for until it becomes enabled.
Type Parameters
- T
- A class implementing IEnabledProvider
Return Value
True if the test object is enabled before the timeout is reached; otherwise, false.