Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet] Added Deprecation to WebElement.GetAttribute() per #13334 #14676

Merged
merged 10 commits into from
Oct 31, 2024
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/IWebElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +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) or GetDomProperty(string propertyName")]
[Obsolete("Use GetDomAttribute(string attributeName) or GetDomProperty(string propertyName). GetAttribute() is schedule for removal in Selenium v6"]
shbenzer marked this conversation as resolved.
Show resolved Hide resolved
string GetAttribute(string attributeName);

/// <summary>
Expand Down