Skip to content

Commit 374feab

Browse files
committed
[java]: mark WebElement.getAttribute deprecated
1 parent 5d3414d commit 374feab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/src/org/openqa/selenium/WebElement.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public interface WebElement extends SearchContext, TakesScreenshot {
166166
* @param name The name of the attribute.
167167
* @return The attribute/property's current value or null if the value is not set.
168168
*/
169+
@Deprecated
169170
@Nullable String getAttribute(String name);
170171

171172
/**

0 commit comments

Comments
 (0)