title: Scroll on a specific DIV Element in Python Selenium
body: <p>I'm trying to do a simple Python Selenium automation where the script will click a link which opens a dialog box on top of the page (Instagram profile).</p>
  
  <p>The said dialog box will display the list of followers but unfortunately the UL that contains the list will only display the first 12 followers (or LI). It is powered by AJAX to "load more" followers.</p>
  
  <p>Anyway, to simulate loading more followers, i tried this code:</p>
  
  <pre><code>driver.find_element_by_xpath('/html/body/div[3]/div/div[2]/ul').send_keys(Keys.END)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>driver.find_element_by_tag_name('body').send_keys(Keys.END)
  </code></pre>
  
  <p>unfortunately, it doesn't work. I was wondering if there is a correct way to do this (scrolling down focused on the active div or any page element)?</p>
  
  <p>Image below is provided to show the html structure of the said page.</p>
  
  <p><a href="https://i.stack.imgur.com/ZrYiE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZrYiE.jpg" alt="enter image description here"></a></p>
  
  <p>Appreciate your help on this, thank you very much!</p>