I am new to selenium in python. I am searching the supreme website by keywords using Xpath as such:
WebDriverWait(driver, 5).until(EC.element_to_be_clickable(
can you try this xpath:
//a[contains(text(),'Dragon Tee')] /parent::div/following-sibling::*/a[contains(text(),'Dusty')]
You can use XPath to solve this by looking for sibling tags. For example, if you want to find the Dragon Tee Heather Grey link, you can use this.
driver.find_element_by_xpath('//div[a/text() = "Dragon Tee"]/following-sibling::div[a/text() = "Heather Grey"]')