I am facing problem in retrieving Subject title of a mail from Unread mails using Selenium webdriver-C#.
Here\'s the HTML code :
I had the same problem. Worked on PhantomJS. The solution is to get the value using GetAttribute("textContent"):
Driver.FindElementsByXPath("SomexPath").GetAttribute("textContent");