SeleniumSeries
SeleniumSeries copied to clipboard
Update deprecated find_element_by_* commands to find_element(By.*, ' ')
Hey Jim,
This pull request addresses the deprecation of find_element_by_* commands in the latest Selenium Python libraries. The deprecation warning, DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead, indicates that these commands are no longer recommended for use.
To align with the latest changes and simplify the APIs across languages, the project has been updated to replace the deprecated find_element_by_* commands with the find_element() method.
Addresses Issue #2.
This update ensures compatibility with the latest Selenium Python libraries and promotes best practices for WebDriver automation.
As AutomatedTester mentions: This DeprecationWarning was the reflection of the changes made with respect to the decision to simplify the APIs across the languages and this does that.