Skip to content

Update deprecated find_element_by_* commands to find_element(By.*, ' ')#8

Open
gauritomar wants to merge 5 commits intojimdevops19:masterfrom
gauritomar:by-methods
Open

Update deprecated find_element_by_* commands to find_element(By.*, ' ')#8
gauritomar wants to merge 5 commits intojimdevops19:masterfrom
gauritomar:by-methods

Conversation

@gauritomar
Copy link

@gauritomar gauritomar commented Feb 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant