I have the following problem. After sending any date on the page, I have a modal dialog, as in the picture:

I want to press "ENTER" to go through this modal, but it does not work. I have the following code:
driver.FindElement(By.CssSelector("input.submit")).Click();
Actions action = new Actions(driver);
action.SendKeys(OpenQA.Selenium.Keys.Enter);
After you click continue the test manually, return to the next page. I have to go through this method to continue the test. Any ideas how to solve this problem?
source
share