IWebElement Text Property WebDriver
Gets the innerText of this element, without any leading or trailing whitespace, and with other whitespace collapsed.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

string Text { get; }
Exceptions

ExceptionCondition
OpenQA.Selenium StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
See Also