Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Selenium "find_element" method #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samwesley
Copy link

Selenium 4.3.0 deprecated the "find_element_by_*" methods, these are now "find_element(x," (See change log here: https://github.com/SeleniumHQ/selenium/blob/a4995e2c096239b42c373f26498a6c9bb4f2b3e7/py/CHANGES_.
This commit fixes the "AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'" error by using the up-to-date Selenium method.

Selenium 4.3.0 deprecated the "find_element_by_*" methods, these are now "find_element(x," (See change log here: https://github.com/SeleniumHQ/selenium/blob/a4995e2c096239b42c373f26498a6c9bb4f2b3e7/py/CHANGES_. 
This commit fixes the "AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'" error by using the up-to-date Selenium method.
@samwesley
Copy link
Author

Created an issue for this here #49

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.

2 participants