I am encountering a problem in IE11 while using Selenium in Java.
After inputting the username and password into the fields, when I click the Submit button, the password field is cleared and the automation process cannot proceed. Even though it works fine manually, I am unable to continue with the flow using Selenium.
I have already attempted the following without success:
WebElement Password = driver.findElement(By.id("TxbUSERPASSW"));
Password.sendKeys(pass);
JavascriptExecutor jsExecutor = (JavascriptExecutor) driver;
jsExecutor.executeScript("$(arguments[0]).change();", pass);
//Button Confirm
driver.findElement(By.id("BtnConfirmSupv")).click();
Can anyone offer assistance?
This is the code for the button:
<input type="submit" name="BtnConfirmSupv" value="Aceptar" id="BtnConfirmSupv" disabled="disabled" style="color:White;background-color:#043B75;border-width:3px;border-style:Outset;font-family:Tahoma;font-size:XX-Small;font-weight:bold;width:100px;">