title: Not able to get span value in selenium python
body: <p>Hey geeks I am new to selenium and automate testing and I am trying to extract Span values(i.e. l e k C N t in below example) from webpage but either it gives empty value or No such element error. Can anyone help in it!</p>
  <p>Language: python</p>
  <p>Webpage:</p>
  <pre><code>&lt;div _ngcontent-serverapp-c6=&quot;&quot; class=&quot;captcha-letters&quot;&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;l&lt;/span&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;e&lt;/span&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;k&lt;/span&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;C&lt;/span&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;N&lt;/span&gt;
  &lt;span _ngcontent-serverapp-c6=&quot;&quot;&gt;t&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>