So I'm trying to send keys to an element using Selenium. I'm thrown with:
ElementNotInteractableException: Message: element not interactable
The thing that's confusing me is that I can click the element without any problem. (I can see that happen on the browser)
I've tried implicitly wait but that doesn't work. The said element is well within the screen so that's not a problem either.
Here is the HTML for the said element
<td class="g0" id="c30"><input autocomplete="off" class="s0" id="f30" name="sd3ubq41" readonly="" size="2" value="3"/></td>
Here is my code:
my_element2 = driver.find_elements(By.ID, "c30")
my_element2[0].click()
driver.implicitly_wait(20)
my_element2[0].send_keys(4)
my_element2[0].submit()
print(my_element2)
In case you want to see what the element looks like when I print it:
[<selenium.webdriver.remote.webelement.WebElement (session="5eb8e8b3fc146dc6a2ba970b992afe1c", element="7b340688-ce12-4c6f-9066-e6c54db6ebf4")>]