Comments (6)
@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.
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.
- The code isn't referencing the Proxy properly
- The proxy forwards the command to the service provider which rejects it
- 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.
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.
from selenium.
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.
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.
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)
- [🚀 Feature]: Disable downloading of 60+MB language crx files HOT 5
- [🚀 Feature]: Disable search engine selection screen HOT 4
- [🐛 Bug]: docker image selenium-edge container crash HOT 4
- [🚀 Feature]: Add Method to RemoteWebDriver for Downloading Files as Byte Array HOT 2
- [🐛 Bug]: Geckodriver 0.35.0 not compatible with Firefox 128 & 115? HOT 1
- [🐛 Bug]: Not able to open the devtools session twice in ruby selenium HOT 7
- options.addArguments("disable-features=DownloadBubble,DownloadBubbleV2"); Argument not working on Chrome 121 and Above[🐛 Bug]: HOT 3
- chromedriver.cmd fails to launch with newer nodejs versions[🐛 Bug]: HOT 3
- [🐛 Bug]: Unable to start selenium within AWS MWAA HOT 13
- [🐛 Bug]: After a Timeout exception : Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Host info: host: 'fv-az395-540', ip: '10.1.0.38' HOT 7
- [🐛 Bug]: Fail to work on headless mode HOT 5
- [🐛 Bug]: selenium.common.exceptions.SessionNotCreatedException When using profile in chrome_options HOT 5
- [🐛 Bug]: "selenium-devtools" ruby gem v0.127.0 is not publised HOT 2
- [🐛 Bug]: Running Selenium inside AWS Lambda function - unable to obtain driver for Chrome HOT 3
- [🐛 Bug]: ConfigException: No drivers have been configured or have been found on PATH upgrading from selenium-server-4.8.3.jar to 4.23.0 HOT 7
- [🐛 Bug]: Memory not being properly released HOT 13
- [🐛 Bug]: Selenium Manager error HOT 3
- [🐛 Bug]: Path too long exception #7181 REBOOT HOT 4
- [🐛 Bug]: Selenium Grid - AttributeError: 'WebDriver' object has no attribute 'execute_cdp_cmd' HOT 1
- [🐛 Bug]: Error starting process: C:\chrome_bot\selenium-manager\windows\selenium-manager.exe HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium.