I am working on a program that can type something in the instagram search bar. Here is the code of the website:
<input class="XTCLo x3qfX " placeholder="Rechercher" value="" type="text">
I have already seen some posts about that but they did not work with me. Here is my code:
input_search = wait(browser, 10).until(
EC.visibility_of_element_located(
(By.XPATH, "//input[@placeholder='Rechercher']")
))
action=ActionChains(browser)
action.move_to_element(input_search)
action.send_keys(search)
action.click()
action.perform()
how can I correct that ?
did not work? Error?? Stack trace??? - DebanjanBfind_element_by_*inconjunction withtime.sleep(). If you are able to locate the element, update the question with the observations. - DebanjanB