0

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.

enter image description here

Can somebody please help?

Cosmin
  • 2,354
  • 2
  • 22
  • 39
Yogesh Tyagi
  • 87
  • 1
  • 13

0 Answers0