If you know for sure that the element is present, you could try this to simulate the click – if .Click() isn’t working
driver.findElement(By.name("submit")).sendKeys(Keys.RETURN);
or
driver.findElement(By.name("submit")).sendKeys(Keys.ENTER);
If you know for sure that the element is present, you could try this to simulate the click – if .Click() isn’t working
driver.findElement(By.name("submit")).sendKeys(Keys.RETURN);
or
driver.findElement(By.name("submit")).sendKeys(Keys.ENTER);