Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: is Nexus raw-repo compatible with WebDriverManager? #481

Closed
djangofan opened this issue May 20, 2020 · 3 comments
Closed

Question: is Nexus raw-repo compatible with WebDriverManager? #481

djangofan opened this issue May 20, 2020 · 3 comments
Labels

Comments

@djangofan
Copy link

djangofan commented May 20, 2020

Description of the problem:

Is a Nexus 'raw' type repository compatible with WebDriverManager? I am asking because I tried this (since I cannot get WebDriverManager to download Firefox via my restricted firewall) and I could not get it to work configured like you see below. I even tried passing -Dhttp.nonProxyHosts=* to my tests but it still uses the system proxy (instead of bypassing). I think a Nexus solution would work for me since I could ask IT to put some drivers in the repo.

For example, running a local Docker Nexus:
Screen Shot 2020-05-19 at 5 56 45 PM

NOTE: Artifacts were uploaded like this:
curl --noproxy "*" -i -u uploader:admin123 --upload-file chromedriver/83.0/chromedriver_win32.zip -v http://127.0.0.1:8084/repository/webdrivers/chromedriver/83.0/chromedriver_win32.zip

webdrivermanager.properties config:
wdm.geckoDriverUrl=http://localhost:8084/service/rest/repository/browse/webdrivers/geckodriver/

Browser and version:
Any

Operating system:
Docker Nexus

WebDriverManager version: 4.0

@djangofan
Copy link
Author

djangofan commented May 21, 2020

Could WebDriverManager work with one of these?
`
import java.net.Authenticator
class ProxyAuthenticator extends Authenticator {
...

and/OR reenable Basic scheme on command line?

-Djdk.http.auth.tunneling.disabledSchemes=

`
I might try, since I am still seeking an easy workaround for my proxy. Browsers and Curl get out my proxy fine... just having this issue with Java.

@bonigarcia
Copy link
Owner

WebDriverManager is not compatible with that repository, sorry.

@djangofan
Copy link
Author

djangofan commented May 31, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants