clear() does not clear the textbox with selenium and python and firefox
问题 clear() does not work in this case. I am getting append after append. searchForMovie.clear() is not working... I have also tried to send CTRL + 'a' , and then the DELETE . Again all I got are just appends... for movie in allMissing: time.sleep (10) searchForMovie = WebDriverWait (driver, 10).until \ (EC.presence_of_element_located ((By.CSS_SELECTOR, "#search-text"))) searchForMovie.send_keys (movie) # click enter = WebDriverWait (driver, 10).until \ (EC.presence_of_element_located ((By.CSS