stevo2

stevo2
mail@pastecode.io avatar
unknown
python
2 years ago
523 B
1
Indexable
Never
dropdown = driver.find_element_by_id("picker-trigger")
dropdown.send_keys(Keys.SPACE,Keys.TAB,Keys.TAB,Keys.TAB,Keys.TAB,Keys.TAB,Keys.SPACE,Keys.TAB,Keys.SPACE)
sleep(5)
cookies = driver.find_element_by_id("uc-btn-accept-banner")
cookies.click()
driver.get("https://www.zalando.sk/cart")
sleep(2)
kupon = driver.find_element_by_class_name("z-coast-base__collapsible-with-toggle-component__trigger")
kupon.click()
kod = driver.find_element_by_name("cart-redeem-coupon-input")
sleep(1)
kod.send_keys("NL7CRTBH5G")