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

BrowserWebDriverContainer configure does overwrite no_proxy environment variable #928

Closed
roamingthings opened this issue Oct 21, 2018 · 3 comments

Comments

@roamingthings
Copy link
Contributor

Hi,

I've noticed that the configure() method of BrowserWebDriverContainer is setting the environment variable to localhost regardless of another value that might already been present. This means that it is not possible to set a custom no_proxy value:

    @Rule
    public final BrowserWebDriverContainer chromeWithProxy = (BrowserWebDriverContainer) new BrowserNoProxyWebDriverContainer()
            .withDesiredCapabilities(chrome())
            .withRecordingMode(RECORD_ALL, new File("."))
            .withEnv("HTTP_PROXY", "http://my.proxy.com:8080")
            .withEnv("HTTPS_PROXY", "https://my.proxy.com:8080")
            .withEnv("no_proxy", "localhost,.noproxy-domain.com");

I've implemented a fix to this issue
roamingthings@4ed091b

Regards,
Alex

@kiview
Copy link
Member

kiview commented Oct 21, 2018

Hi @roamingthings, looks good, would you like to provide the PR?

@stale
Copy link

stale bot commented Jan 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Jan 19, 2019
@stale
Copy link

stale bot commented Feb 2, 2019

This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case.

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

No branches or pull requests

2 participants