Question #268554 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268554
Status: Open => Answered
RaiMan proposed the following answer:
a findAll() ALWAYS returns a new iterator when called.
Your problem might be timing:
after the issue of the PageDown, the findAll() immediately starts and the first
thing it does is to make a screenshot to find the target images in that shot.
I guess this happens so fast, that the page itself is not yet scrolled
down.
So after the
type(Key.PAGE_DOWN)
just insert a
wait(1)
# adjust the time to the minimum needed or use any other hack, to wait for the
end of scrolling
to give time to the webpage to finish scrolling
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp