selenium webdriver – Specflow scenario fails but element is actually used and the scenario completes

I have a scenario where I need to select an option from a select element. The select menu is actually hidden and I have to displayed it so that it can be used (and I don’t know if that will have anything to do with my problem). I use the exact same code on different pages in our website and the element I ask it to select is always selected and no errors are shown. However on one page I get a failure and this error:

Message: 
OpenQA.Selenium.ElementNotInteractableException : Element <option> could not be scrolled into view

BUT the correct value IS selected in the menu and the scenario continues until completion rather than erroring out.

Read more here: Source link