I was trying to automate a task in Python 3 using Selenium, where I need to click on a dropdown option. I was able to get the web element, but the click() function is not working on it.
driver.find_element_by_xpath("//li[@id='btnRemoveWorkflow']").click() throws an error
"selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable"
<ul class="dropdown-menu">
<li id="btnFillFromSignTemplate">...</li>
<li id="btnSaveAsSignTemplate">...</li>
<li id="btnManageSignTemplate">...</li>
<li class="divider"></li>...</li>
<li id="btnCancelWorkflow" class=" disabled " data-original-title="" title="">
<li class="divider"></li>
<li id="btnRemoveWorkflow" class="" data-original-title="" title="">...</li>
</ul>