Generic wait function that will repeatly call the
predicate function until it returns
true. Throws a
TimeoutException if the predicate is not fullfilled within the time limit.
Syntax
Parameters
- predicate
- Predicate function that should return true when waiting is complete.
- timeoutMessage
- The message used in the TimeoutException.
- timeout
- The TimeSpan to wait before failing.
- retryFrequency
- The TimeSpan to wait between each call to the predicate.
- postTimeout
- The final TimeSpan to wait after the predicate returns true.
Remarks
Requirements
Namespace: Xamarin.UITest.Android
Assembly: Xamarin.UITest (in Xamarin.UITest.dll)
Assembly Versions: 0.0.0.0