title: How to scroll to see images on a website?
body: <p>So I have this program that is meant to scroll down until it can find all of the pictures on the screen. This is my code:</p>
  <pre><code>def scrolluntil():
      allsat = False
      while allsat == False:
          pyautogui.scroll(-100)
          fan = locateCenterOnScreen(&quot;findaname.png&quot;)
          tl = locateCenterOnScreen(&quot;topleft.png&quot;)
          tr = locateCenterOnScreen(&quot;topright.png&quot;)
          if fan is not None:
              if tl is not None:
                  if tr is not None:
                      allsat = True
  </code></pre>
  <p>It keeps scrolling down and doesn't stop even when the images are on the screen, the pictures are correct.</p>