Bonjour, je ne parviens pas a trouver un éléments avec selenium .
Code:
1 2 3 4 5
| br=webdriver.Chrome()
br.get("https://www.adidas.fr/on/demandware.store/Sites-adidas-FR-Site/fr_FR/CODelivery-RedirectToPaypal")
time.sleep(5)
email=br.find_element_by_id("email") de meme avec email=br.find_element_by_xpath("//*[@id='email']")
email.click() |
Cela me retourne :
Code:
1 2 3
| elenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"dwfrm_cart_d0lbkdfqhdbf"}
(Session info: chrome=51.0.2704.103)
(Driver info: chromedriver=2.22.397929 (fb72fb249a903a0b1041ea71eb4c8b3fa0d9be5a),platform=Mac OS X 10.11.5 x86_64) |
Je comprend qu'il n'arrive pas a trouver l'element que je cherche mais je ne voie pas pourquoi . Merci d'avance