Skip to content

Commit de274e6

Browse files
authored
Merge branch 'trunk' into py-validation
2 parents 0637159 + 1210634 commit de274e6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

py/selenium/webdriver/remote/webelement.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ def get_attribute(self, name) -> str | None:
173173
# Check if the "active" CSS class is applied to an element.
174174
is_active = "active" in target_element.get_attribute("class")
175175
"""
176-
177-
warnings.warn(
178-
"using WebElement.get_attribute() has been deprecated. Please use get_dom_attribute() instead.",
179-
DeprecationWarning,
180-
stacklevel=2,
181-
)
182-
183176
if getAttribute_js is None:
184177
_load_js()
185178
attribute_value = self.parent.execute_script(

0 commit comments

Comments
 (0)