[py] Added Deprecation of WebElement.get_attribute() per #13334#14675
[py] Added Deprecation of WebElement.get_attribute() per #13334#14675AutomatedTester merged 6 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
@VietND96 Failing test is unrelated |
|
Just pushed a fix for that flaky test actually #14701 |
|
@VietND96 now that the bidi_tests.py fix has been merged, could you run the ci workflow again? |
User description
Description
added deprecation warning to WebElement.get_attribute()
Motivation and Context
#13334
Types of changes
Checklist
PR Type
enhancement, documentation
Description
WebElement.get_attribute()method in the Selenium WebDriver Python library.get_dom_attribute()method instead.PRDescriptionHeader.CHANGES_WALKTHROUGH
webelement.py
Deprecate `WebElement.get_attribute()` method with warningpy/selenium/webdriver/remote/webelement.py
WebElement.get_attribute().get_dom_attribute()instead.