I have a question regarding the send_keys function. How can I make the test wait for the entire content of send_keys to be entered? I can not use time.sleep, so I tried:
WebDriverWait(self.browser, 5).until(
expected_conditions.presence_of_element_located((By.ID, "name")))
query = driver.find_element_by_id('name')
query.send_keys('python')
driver.find_element_by_id("button").click()
the app clicks the button before the action completes send_keys thank you for an answer