send_keys() method of selenium python not working sometimes. Keys that I send and the the ones that selected are different sometimes. This usually happens when it takes too long for the page to load.
I Tried using sleep before sending the keys for the element to load all the drop down values but this too doesn't work.
WebDriverWait(driver, 10).until(EC.visibility_of_element_located((By.ID, "Tag")))
sleep(10)
self.driver.find_element_by_id('Tag').send_keys('Key Value')