I want to login in aliexpress by using selenium. But i can't find element xpath of input email to sendkeys. I try so many times by css_selector, xpath, But it's not work.
This is my code:
driver.get("https://best.aliexpress.com")
time.sleep(5)
userinfo= driver.find_element(By.CSS_SELECTOR,"div.my-account--menuItem--1GDZChA")
userinfo.click()
login_button=driver.find_element(By.CSS_SELECTOR,"span.my-account--menuText--1km-qni")
login_button.click()
driver.find_element(By.CSS_SELECTOR,"span.cosmos-input-label").send_keys("test")
I want to send the email in right input email label
here is you're path
//input[@class='cosmos-input']you can use this to input you're email make sure first click on the signin button properly then the popup screen will be open and with the help of this xpath//input[@class='cosmos-input']you can use send_keys for inserting the email