I have a problem in setting a proxy config in webtester.
Before, with htmlunit 2.11 jar I was using the following code:
HtmlUnitTestingEngineImpl h = (HtmlUnitTestingEngineImpl) wt.getTestingEngine();
ProxyConfig proxyConfig = new ProxyConfig(ip, 4128);
After updating jwebunit libraries (i.e. htmlunit 2.13, httpclient4.3.1 etc.) the setProxyConfig method isn't supported in WebClient.
It seems the only way to set proxy in WebClient is in the constructor.
Now, How can I set a proxy configuration for a jwebunit WebTester?
Log in to post a comment.