title: Selenium Webdriver doesnt find ALL elements on website
body: <p>I ve been working on an Instagram automation program but there's one problem:
  When i try to find all LIKE buttons and print them</p>
  
  <p>it only likes the first 4 pictures but there are many more and i dont know why it cant find them</p>
  
  <p>Using Selenium, Python, Selenium Webdriver, time, Keys(from selenium)
  Code:</p>
  
  <pre><code>hearts = browser.find_elements_by_xpath("//*[contains(@class, '_eszkz
  _l9yih')]")
  
  for i, heart in enumerate(hearts):
      print('{}/{}'.format(i, len(hearts)))
      heart.click()
      time.sleep(2)
  </code></pre>