Code Monkey home page Code Monkey logo

Comments (6)

github-actions avatar github-actions commented on August 16, 2024

@pvsharma, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

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!

from selenium.

titusfortner avatar titusfortner commented on August 16, 2024

I'm not sure what you mean by it does not work in Java 11, but works in Java 8. Selenium no longer works with Java 8, so there are going to be more differences than just the Java version number.

You have an advanced setup and I can see 3 places it might be getting caught up.

  1. The code isn't referencing the Proxy properly
  2. The proxy forwards the command to the service provider which rejects it
  3. The service provider creates a session but the designated driver errors

So you need to start with checking if the service provider is getting your request, and then work from there. Another thing off the bat, back sure you're specifying the latest version of Selenium in case the provider is giving you 4.0, which may cause problems.

from selenium.

pvsharma avatar pvsharma commented on August 16, 2024

Thank you Titus, I will stick to Java 11 for time being.

IS there anything wrong, I am passing the proxy and the credentials. I got these code from the previous ticket #10231 (comment) . Should I be changing anything on this.

Also BitBar(Service provided) is not getting my request

I did a debug and see that I get 407, so the proxy is not getting authenticated. What is wrong in the above section of the code (// CONFIG TO ADD CREDENTIALS) in which I am trying to authenticate proxy.

image

from selenium.

titusfortner avatar titusfortner commented on August 16, 2024

You're putting credentials both in the proxy object and in the client config directly. I think you just want it in proxy, so try removing authenticateAs

from selenium.

pvsharma avatar pvsharma commented on August 16, 2024

THank you Titus, I am not adding authentication in proxy but just adding it in config. If I remove AuthenticateAs from config, then proxy will not be authenticated.

from selenium.

titusfortner avatar titusfortner commented on August 16, 2024

You're right, and it looks like what you have matches what is supposed to work: #10231 (comment)

One of the other Java devs might need to help out with this one.

from selenium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.