Skip to content

Commit bb8baed

Browse files
committed
[dotnet] Added Deprecation Warning to WebElement.GetAttribute() per #13334
1 parent f391cd0 commit bb8baed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dotnet/src/webdriver/IWebElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public interface IWebElement : ISearchContext
170170
/// </list>
171171
/// </remarks>
172172
/// <exception cref="StaleElementReferenceException">Thrown when the target element is no longer valid in the document DOM.</exception>
173+
[Obsolete("Use GetDomAttribute(string attributeName)")]
173174
string GetAttribute(string attributeName);
174175

175176
/// <summary>

0 commit comments

Comments
 (0)