URL = https://www.sephora.com/search?keyword=shaving
At the bottom of the page, I'm trying to change from "View 60" to "View All". The problem is that test case passed successfully, but the browser doesn't change it from "60" to "All".
I'm using this code:
from selenium.webdriver.support.ui import Select
element = self.driver.find_element_by_xpath("//*[@class='css-bpk111']")
dropdown = Select(element)
dropdown.select_by_value("300")
I used "mouse over", tried to click on it. Nothing worked. What seems to be the problem?