Method elmFinder.Exists(+ 1 overload)
Overload
Finds the first matching descendant UI element in the window or UI element. Like elmFinder.Find, just different return type.
public bool Exists()
Returns
bool
If found, sets elmFinder.Result and returns |
Exceptions
ArgumentException
|
AuWndException
Invalid window handle (0 or closed). See also elmFinder.In. |
AuException
Failed. For example, window of a higher UAC integrity level process. |
Overload(top)
Finds the first matching descendant UI element in the window or UI element. Can wait and throw NotFoundException. Like elmFinder.Find, just different return type.
public bool Exists(Seconds wait)
Parameters
wait (Seconds)
The wait timeout, seconds. If 0, does not wait. If negative, does not throw exception when not found. |
Returns
bool
If found, sets elmFinder.Result and returns |
Exceptions
NotFoundException |
ArgumentException
|
AuWndException
Invalid window handle (0 or closed). See also elmFinder.In. |
AuException
Failed. For example, window of a higher UAC integrity level process. |