mercredi 21 octobre 2020

placeholder value to be changed, selenium

start_pl=WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.XPATH, '//input[@id="rw_2_input"]')))
start_pl.send_keys("05 Oct 2020")

What happens is the cursor selects the box where the placeholder text box is physically located on the site. But it doesnt change the value itself. (I tried @placeholder value, but didn't work that is why i tried alterantive id)

said text box

initial inspect part of text box

weirdly i dont know see dates here but hours in the box in inspect

Aucun commentaire:

Enregistrer un commentaire