title: Selenium How To Get Title Text?
body: <pre><code>&lt;span class="Voting__button Voting__button-up"&gt;
  &lt;a href="#" title="Upvote"&gt;  ---&gt; Need get title word in my textbox
  </code></pre>
  
  <p>I tried it like this:</p>
  
  <pre><code>      textbox1.text= driver.findelement(by.xpath("//*[@id='posts_list']/ul/li[1]/div/div[2]/div[2]/div[2]/span[1]/span/span/a")).Text;
  </code></pre>
  
  <p>I want to get this title but it’s not working.</p>