I am not familiar with Python, but I can make some suggestions.
First, visit the Selenium documentation site. You can find examples and detailed documentation using Selenium with Python here.
Next, to answer your specific question, instead of searching by class name, look for something that is unique to the item/s you are searching for. You may need to find ...
In the past I had the same questions about our testing team.
Here is what we learned about "getting direct feedback about our testing skills":
In our company we had the chance to work with e.g. external testing consultants. It was really good because they had a lot of experience from other testing projects. This is also a chance to get feedback ...
One thing I would add here is to separate deterministic part from a less deterministic one.
Your system has multiple functionalities:
reading profile (deterministic)
making recommendation (less-deterministic)
sending email (deterministic)
Given that you can have two types of tests:
Unit tests, covering deterministic parts by mocking machine learning parts,...
A while back I posted about a Test Skills Matrix. Since then I have further improved that Matrix which I have attached here. SW Tester Skills Matrix
If you cannot access the file please let me know via email: firstname.lastname@example.org