I want to click the search box where "Search for a company" is written in the webpage (webpage inspect element screenshot below ) using Selenium WebDriver in python and want to send some text to that search box. I have written below code:
yourOption = selenium_webdriver.find_element_by_css_selector("input[type='search']")
yourOption.send_keys("532005"
time.sleep(1)
yourOption.send_keys(Keys.DOWN)
time.sleep(1)
yourOption.send_keys(Keys.RETURN))
I am getting following exception:
ElementNotInteractableException: element not interactable
Here is the screenshot of inspect element of webpage.
Can somebody please help?