from selenium import webdriver
from selenium.webdriver.common.by import By # Very important to import this
my_variable = driver.find_element(by=By.CLASS_NAME, value="name_of_my_class")
# find elements by class name selenium python
from selenium.webdriver.common.by import By
driver.find_element(By.CLASS_NAME, "HazaaZOOZ")