Top  Previous  Next

The WaitFor method waits for a screen that contains the specified string.




[boolean] = Display.WaitFor(string, [timeout])




The timeout parameter is optional and is measured in milliseconds. This method returns 'True' if the wait is successful and 'False' if the timeout period expires.


If you specify a value in the timeout parameter, the value of the WaitTimeout property will not have any effect.



Related Topics


WaitForScreen Method
WaitForUnlock Method
WaitForNewScreen Method