In a previous question a user provides the following solution to the problem.
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//div[@class='title
login_title' and text()='Login']//following::div[1]//input[@class='text header_login_text_box
ignore_interaction']"))).send_keys("someemail@email.com")
However, when I go into my chrome inspect element, I get the following XPATH by going copy>XPATH, which when added like the following, no longer works. It also doesn't give an error, just no email is typed into the box.
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//*[@id='__w2_wHsckeIm21_email']"))).send_keys("someemail@email.com")
What's the difference between the two? Why does only the first one work and how do I obtain this long working version of xpath.