title: Selenium: How to scroll in inner div using selenium in python
body: <p>Want to scroll the chats in web.whatsapp.com. Have shared the pseudo-code below:</p>
  
  <pre><code>recentList = driver.find_elements_by_xpath("//div[@class='_2wP_Y']")
  driver.execute_script("window.scrollTo(0, 500);")
  </code></pre>
  
  <p>Looking forward for a solution so as to scoll in web.whatsapp.com till the last chat.</p>
  
  <p>Thanks in advance!</p>