from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument("--headless=new")
driver = webdriver.Chrome(options=chrome_options)
driver.get("https://www.hepsiburada.com/gunun-firsati-teklifi")
elements = driver.find_elements(By.XPATH, "/html/body/div[3]/main/div[2]/div/div/div/div/div/div[2]//*")
class_list = [e.get_attribute("class") for e in elements]
print(class_list)