sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27689
Re: [Question #253152]: how to select two images from different lists
Question #253152 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/253152
Eugene S proposed the following answer:
-- need to use the "while" because i must know if it was clicked and
disapeared before i go to the next action. A normal "while exists..."
would be to fast and generates errors.
Not sure what you mean by that. What's a normal while?
Generally, if you must be sure that something happened as a result of your action (for example as a result of a click), you have two options:
1. Use timeout
2. Wait until the expected condition met. For example, if your click is going to trigger an appearance of a new figure on the screen, just wait until you have this figure and only then proceed.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.