This is my code and it works completely fine for selecting size but it does not click the add to cart button as I can not see the product being added to my cart.

```
 from selenium import webdriver as wd
 import chromedriver_binary
 from selenium.webdriver.common.action_chains import ActionChains
 wd= wd.Chrome()
 action= ActionChains(wd)
 wd.implicitly_wait(1)
 url="https://www.nike.com/ca/launch/t/air-max-pre-day-pure-platinum"
 wd.get(url)
 #wd.maximize_window()
 size=wd.find_element_by_xpath('//*[@id="root"]/div/div/div[1]/div/div[1]/div[2]/div/section[1]/div[2]/aside/div/div[2]/div/div[2]/ul/li[15]/button')
 size.click()
 wd.implicitly_wait(1)
 cart=wd.find_element_by_xpath('//*[@id="root"]/div/div/div[1]/div/div[1]/div[2]/div/section[1]/div[2]/aside/div/div[2]/div/div[2]/div/button')
 action.move_to_element(cart)
 action.click()
 action.perform()

```