it seems that HtmlUnit uses it's own centralized ProxyConfig object to set up proxy settings. Is there a way to make it ignore the ProxyConfig and use JVM properties https.proxyHost
,https.proxyPort
,http.proxyHost
and http.proxyPort
?
Sure, copying the values manually is an option, but it is not the best option as my WebClient should use both https and http which have different proxies.
Thanks in advance.