So far all my tests are running ok, to improve speed I was trying to run all in headless mode, but a bunch of those tests are failing, one of those had the following error:
OpenQA.Selenium.ElementNotInteractableException: element not interactable
(Session info: headless chrome=87.0.4280.141)
Rastreamento de Pilha:
RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary'2 parameters)
RemoteWebElement.Execute(String commandToExecute, Dictionary'2 parameters)
RemoteWebElement.Click()
The line that returned that error is
Driver.FindElement(By.CssSelector("#page_content_inner > div.uk-grid > div > div:nth-child(2) > div > div > div > ul > li:nth-child(2) > a")).Click();
Other ones had click intercepted:
(Session info: headless chrome=87.0.4280.141)
Rastreamento de Pilha:
RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary'2 parameters)
RemoteWebElement.Execute(String commandToExecute, Dictionary'2 parameters)
RemoteWebElement.Click()
The line that generated the error is:
Driver.FindElement(By.Id("ClientesConvenio")).Click();
My true question is: Is there any limitations to headless mode? is there any beginners knowledge that I should have to use headless mode? why is this happening?