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