Open jaydjana87 opened 1 month ago
@jaydjana87, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Seems like HASAuthentication works fine first time but if we try same after logging out from application and login with other user ID it worked but in console throws unnecessary exception and hanged console
We need more information about this issue in order to troubleshoot.
Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our Troubleshooting documentation.
Here is the step to reproduct
Open Url (Example:https://the-internet.herokuapp.com/basic_auth)
Enter username and password HasAuthentication authentication = (HasAuthentication) driver; authentication.register(() -> new UsernameAndPassword(username, password));
Now Clear browser history and refresh the page
Again popup will come for Authentication
Enter username and pass using below API HasAuthentication authentication = (HasAuthentication) driver; authentication.register(() -> new UsernameAndPassword(username, password)); Error Logs.txt
Error logs will come in console heavily
Error logs attaed
What happened?
I am getting popup while opening url. I have tried to pass credential using HasAuthentication method and it worked but I am getting continious error/warning in console which is blocking my console. FYI I have open new Tab/window and close old Tab/window before opening url
How can we reproduce the issue?
Relevant log output
Operating System
Windows 11
Selenium version
Selenium 4.18.1 /Java 17
What are the browser(s) and version(s) where you see this issue?
Chrome Version 125.0.6422.113 (Official Build) (64-bit)
What are the browser driver(s) and version(s) where you see this issue?
Chrome Driver
Are you using Selenium Grid?
No