Method elmFinder.Wait
Overload
Waits for a matching descendant UI element to appear in the window or UI element.
public elm Wait(Seconds timeout)
Parameters
timeout (Seconds)
Timeout, seconds. Can be 0 (infinite), >0 (exception) or <0 (no exception). More info: Wait timeout. |
Returns
elm
If found, returns elmFinder.Result. On timeout returns |
Exceptions
TimeoutException |
ArgumentException
|
AuWndException
Invalid window handle (0 or closed). See also elmFinder.In. |
AuException
Failed. For example, window of a higher UAC integrity level process. |
Remarks
Same as elmFinder.Find, except:
- 0 timeout means infinite.
- on timeout throws TimeoutException, not NotFoundException.