You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Find an element given a By strategy and locator. Prefer the find_element_by_* methods when possible. """
To Reproduce
Look at the code links above.
Expected behavior
Personally, I don't see why the find_element(s)_by_* commands have been deprecated. So I didn't expect to see that warning. If someone has a pointer to a conversation that lead to this decision, I'd like to see it.
At a minimum, I'd like the documentation and code be consistent.
Test script or set of commands reproducing this issue
🐛 Bug Report
In the python remote/webdriver.py code,
find_element_by_id()
and many similar commands have this warning:find_element()
andfind_elements()
have this contradicting documentation comment:To Reproduce
Look at the code links above.
Expected behavior
Personally, I don't see why the find_element(s)_by_* commands have been deprecated. So I didn't expect to see that warning. If someone has a pointer to a conversation that lead to this decision, I'd like to see it.
At a minimum, I'd like the documentation and code be consistent.
Test script or set of commands reproducing this issue
NA
Environment
github source
The text was updated successfully, but these errors were encountered: