"Wait for Image" Action Library does not seem to work



I am trying to use the “Wait for Image” action library feature to jump out of the Try loop in a Try…Catch loop. Though there is no such image, it always remains in the Try loop. What can I do?



Try is not a loop, it is a block of actions. If any action from the Try block fails, robot will execute the Catch block.

See - https://kb.workfusion.com/display/RPAe/Error+Handling


One other thing to note - WaitForImage will not fail when image is not found, it will just return false (that’s why it’s not exiting the Try block, there’s no exception).
You should use an If instead to check if the image has been present.