How to search when the target is located below of the page (scrolling needed)?
I am trying this case:
I opened facebook
I can not see the jpg in current screen (cuz it is loacated under current screen/page)
then I want to find a jpg which is located down/below of the page.
I wrote this code. It works perfect but does anybody know faster method?
Here is my code:
reg=Region(
if reg.exists(
popup("Bravo")
exit()
mouseMove(
mouseDown(
mouseLocation=
dd=90
#Method-1
while not reg.exists(
mouseMove(
dd=dd+90
if exists(
exit()
#Method-2
#while not reg.exists(
# wheel(Location(
# if exists(
# popup("Congrats!")
# break
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: