title: How to get text of an element in Selenium?
body: <p>HTML:</p>
  <pre><code>&lt;div id=&quot;email_address&quot;&gt;abcdefg.text&lt;/div&gt;
  </code></pre>
  <p>Code:</p>
  <pre><code>email.FindElementByCssSelector(&quot;#email_address&quot;).getAttribute(&quot;outerHTML&quot;);
  </code></pre>
  <p>I have tried this however I am unable to get the text <code>&quot;abcdefg.text&quot;</code></p>
  <p>Any suggestions would be of great help.</p>