Open Cecchetto90 opened 2 years ago
The login procedure fails because "passwordInput" and "submitButton" ids not found on the login page.
The current version of the WebClient class, method "ADFSLoginAction" uses the following ids to insert password and execute submit action in the form:
driver.FindElement(By.Id("passwordInput")).SendKeys(args.Password.ToUnsecureString()); driver.ClickWhenAvailable(By.Id("submitButton"), TimeSpan.FromSeconds(2));
I Solved my problem updating in this way:
driver.FindElement(By.Name("passwd")).SendKeys(args.Password.ToUnsecureString()); driver.ClickWhenAvailable(By.XPath("//input[@type='submit']"), TimeSpan.FromSeconds(2));
Has anyone else encountered the same problem?
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
Special formatting / display
Code to reproduce
Expected behavior
Screenshots
Additional context
Is this issue resolve? Me too facing the issue regarding the Password and submit, workaround is there now and able to proceed.
Thanks
Bug Report
The login procedure fails because "passwordInput" and "submitButton" ids not found on the login page.
The current version of the WebClient class, method "ADFSLoginAction" uses the following ids to insert password and execute submit action in the form:
driver.FindElement(By.Id("passwordInput")).SendKeys(args.Password.ToUnsecureString()); driver.ClickWhenAvailable(By.Id("submitButton"), TimeSpan.FromSeconds(2));
I Solved my problem updating in this way:
driver.FindElement(By.Name("passwd")).SendKeys(args.Password.ToUnsecureString()); driver.ClickWhenAvailable(By.XPath("//input[@type='submit']"), TimeSpan.FromSeconds(2));
Has anyone else encountered the same problem?
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
Special formatting / display
Code to reproduce
Expected behavior
Screenshots
Additional context