Skip to content

update method to match selenium 4 find_element#13

Merged
cle-b merged 11 commits intomainfrom
updatesyntaxse4
Aug 9, 2025
Merged

update method to match selenium 4 find_element#13
cle-b merged 11 commits intomainfrom
updatesyntaxse4

Conversation

@cle-b
Copy link
Owner

@cle-b cle-b commented Aug 9, 2025

This PR replaces the WebDriver.find_element_by_image method by the existing WebDriver.find_element with a selector By.IMAGE to be closer to the new Selenium 4 syntax.

before

    find_element_by_image(filename)

after

    find_element(By.IMAGE, filename)

@cle-b cle-b merged commit 066407b into main Aug 9, 2025
13 of 14 checks passed
@cle-b cle-b deleted the updatesyntaxse4 branch August 9, 2025 14:16
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