There is an autocomplete text box in a web page I am trying to read from. I would like to click the text box and enter certain text into it and click the associated name but I am encountering this error message:
ElementNotInteractableException: Message: element not interactable
(Session info: chrome=78.0.3904.108)
This is what I have written
page_link = 'http://beta.compuboxdata.com/fighter'
chromedriver = 'C:\\Users\\User\\Downloads\\chromedriver'
cdriver = webdriver.Chrome(chromedriver)
cdriver.get(page_link)
cdriver.find_element_by_class_name('select2-chosen').send_keys('Deontay Wilder')
This is what the site looks like
The keys should presumably be sent to id-'select2-chosen'
Sending the keys to this id returns the error message:
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="select2-chosen1"]"}
(Session info: chrome=78.0.3904.108)