Skip to content

Commit

Permalink
[dotnet] Correct documentation for Text Property
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Jul 15, 2020
1 parent a8fd30b commit ebadcd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnet/src/webdriver/IWebElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public interface IWebElement : ISearchContext
string TagName { get; }

/// <summary>
/// Gets the innerText of this element, without any leading or trailing whitespace,
/// and with other whitespace collapsed.
/// Get the visible (i.e. not hidden by CSS) text of this element, including sub-elements.
/// </summary>
/// <exception cref="StaleElementReferenceException">Thrown when the target element is no longer valid in the document DOM.</exception>
string Text { get; }
Expand Down

0 comments on commit ebadcd0

Please sign in to comment.