close

[Fixed] DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead

Today We are Going To Solve DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead in Python. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead Error?

  1. How to Fix DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead Error?

    To Fix DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead Error just Use find_element(). To solve this issue you have to use find_element() instead of find_element_by_*() And just import the below line from selenium.webdriver.common.by import By

  2. DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead

    To Fix DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead Error just Use find_element(). To solve this issue you have to use find_element() instead of find_element_by_*() And just import the below line from selenium.webdriver.common.by import By

Solution 1 : Use find_element()

To solve this issue you have to use find_element() instead of find_element_by_*()

And just import the below line

from selenium.webdriver.common.by import By

Solution 2 :

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment