# With xpath you can find elements by multiple classes as follows: driver.find_elements(By.XPATH, "//*[@class='class1 class2']")