Skip to content

Commit

Permalink
[dotnet] Added Deprecation Warning to WebElement.GetAttribute() per S…
Browse files Browse the repository at this point in the history
  • Loading branch information
shbenzer committed Oct 29, 2024
1 parent f391cd0 commit bb8baed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/IWebElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public interface IWebElement : ISearchContext
/// </list>
/// </remarks>
/// <exception cref="StaleElementReferenceException">Thrown when the target element is no longer valid in the document DOM.</exception>
[Obsolete("Use GetDomAttribute(string attributeName)")]
string GetAttribute(string attributeName);

/// <summary>
Expand Down

0 comments on commit bb8baed

Please sign in to comment.