title: Python selenium 'list' object has no attribute 'text' error
body: <p>I'm trying to copy text from comment on a website<code>&lt;span class="auto-link"&gt;yes&lt;/span&gt;</code>    and my python code is </p>
  
  <pre><code>element=browser.find_elements_by_xpath('//span[@class="auto-link"][1]')
  print(element.text)
  </code></pre>
  
  <p>but I keep on getting the 'list' object has no attribute 'text' error, I don't know what I'm doing wrong.                                                             </p>