title: Xpath to get total Instagram follower count [Python, Selenium]
body: <p>I'm putting together a Python script using Selenium that will log into Instagram (my own), and retrieve the total number of followers. I'm having trouble locating the proper Xpath element.</p>
  
  <pre><code>followers= driver.find_element_by_xpath('//*[@id="react-
  root"]/section/main/article/header/div[2]/ul/li[2]/a/span')
  </code></pre>
  
  <p>Using this Xpath turns up nothing. </p>
  
  <p>Has anyone successfully done this before?</p>
  
  <p>Thanks</p>