I have been running my tests on LambdaTest using Python. It was working as expected. But then, I got an error. How to sort it out?

I am getting the error:

DeprecationWarning: find_element_by_* commands are deprecated.

Hello Ian,

There seems to be an issue from Selenium itself as they seem to have depreciated the support.

You can try using this instead:

driver.find_element(By.ID, "ID value")

You may also refer to this article: python - find_element_by_* commands are deprecated in Selenium - Stack Overflow