title: Selenium Webdriver C# Read Text from ReadOnly Element
body: <p>I would like a to find a way to store the text from within a read only element.</p>
  
  <pre><code>IWebElement LName = Driver.Instance.FindElement(By.XPath(".//*[@id='inputGrid']/div[1]/div[1]/div/div[1]/table/tbody/tr[1]/td[4]"));
  string LNValue = LName.GetAttribute("value");
  </code></pre>
  
  <p>The result of this code is that LNValue is empty.<br>
  However, LName is a cell that contains this text: "********"</p>
  
  <p>If I inspect the element, I can see this:</p>
  
  <pre><code>&lt;td class="htDimmed fill"&gt;********&lt;/td&gt;
  &lt;td class="htDimmed"&gt;*********&lt;/td&gt;
  </code></pre>