New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: RemoteWebDriver - Implementation mismatch since version 4.14.0 #13803
Comments
@johnny, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
I understand, but as I mentioned in the other issue, due to changes in the HTTP client, that is how you can connect to authenticated services. |
I understand that I can write more code when constructing the RemoteWebDriver. In our case, that wouldn't work though, since we are using fluentlenium. There is already code in the JdkHttpClient implementation that tries to handle embedded userinfo, but it's broken. selenium/java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java Lines 107 to 120 in 2b59996
A fix is easy (drop the user from the url in above linked code) and then Java behaves the same again as other languages. |
Would you like to send a PR? |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
@johnny are you using the selenium server configuration to enable basic auth or some kind of reverse proxy? |
What happened?
Since #13802 was closed and cannot be reopened, I needed to create a new ticket.
As a user, I expect urls with embedded authentication to work in Java like in any other language.
http://admin:myStrongPassword@localhost:4444
How can we reproduce the issue?
Relevant log output
Operating System
macOS
Selenium version
Java 4.14.0-4.18.1
What are the browser(s) and version(s) where you see this issue?
All
What are the browser driver(s) and version(s) where you see this issue?
RemoteWebDriver
Are you using Selenium Grid?
4.18.1
The text was updated successfully, but these errors were encountered: