scroll down until image is seen on screen
There is a specific image that I need to find
but the distance to scroll to it changes every two weeks.
But the horizontal spacing is the same, at 7 wheel downs.
So what I want to do is have findAll look for the image
and if it does not find anything then scroll down
7 more. Keep doing this scroll down 7 until it
finds the image.
So what am I doing wrong here ?
while(1):
try:
icons = findAll(
if exists(icons):
break
else:
except Exception:
pass
[error] script [ 796_795_
[error] Error caused by: Traceback (most recent call last): File "C:\Users\
at org.sikuli.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.sikuli.
file Region.java
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Marc Summers
- Solved:
- Last query:
- Last reply: