I have a standard form with 2 text boxes to fill and a submit button. The Submit button suppose to work after filling in the first mandatory text box. It works manually, but when running on the automation infrastructure, the element doesn't get clicked. The odd thing is that when debugging, the submit button is not clickable too, although it's not greyed out. I tried the 3 classic methods: Javascript:
JavascriptExecutor executor = (JavascriptExecutor)driver;
executor.executeScript("arguments[0].click();", element);
Actions:
Actions actions = new Actions(driver);
actions.moveToElement(element).click().perform();
click:
element.click()
**Not working manually while in automation ** only when closing the form and creating a new one it works.