Is there a way to wait for two screenshot possibilities?

Asked by NoBugs!

If you have a long-running process that may give an error message or a success dialog, there doesn't seem to be a way to wait for minutes for both. You can have a wait for several minutes for the error message, then in a try-except block wait for minutes for success message, but that adds needless wait.

Am I missing something in the api that would let us do that?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Can you help with this problem?

Provide an answer of your own, or ask NoBugs! for more information if necessary.

To post a message you must log in.