Does onAppear() has a minimun default time?
Asked by
CCIOLA
I'm trying to write an instruction to wait for an image appear on the screen, but sometimes my aplication takes too long to show the image, sometimes shows it on a shor period of time.
I'm using
onAppear(
but when my image takes a long time to to be shown, it seems like onAppear has a default waiting time to work, so it breaks the execution before the image be found on the screen.
I've tried to use while, but it doesn't work like I explained above:
while not find(myImage.png)
sleep(FOREVER)
Do you know how can I do to wait for 20 seconds for the image, for example, and break the waiting as soon the image appears?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.