← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696816]: Scroll until

 

Question #696816 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696816

    Status: Open => Answered

Manfred Hampl proposed the following answer:
What is complete_scroll? Is this an image that shows that you are at the
end?

In that case your "if" statement is the wrong way round and probably
must be

while True:
   if exists(complete_scroll):
       break
   else:
       click(down_arrow)
   wait(1)

Additional idea: 
Is there a way to use a keyboard shortcut (e.g. Ctrl+End) to scroll down to the end?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.