PAC file content used as below
function FindProxyForURL(url, host) { if (url.substring(0, 3) === "ws:" || url.substring(0, 4) === "wss:") { return "DIRECT"; } else { return "Proxy 127.0.0.1:53316"} }
seleniumProxy = new Proxy();
seleniumProxy.setProxyType(Proxy.ProxyType.PAC);
seleniumProxy.setProxyAutoconfigUrl(pacLocation);
Using above codes does not capture HAR Entries.
If I use Proxytype.MANUAL , HAR file is captured BY socket.IO calls not working in application. So i tried autoconfigproxyURL with above PAC file.
seleniumProxy.setProxyType(Proxy.ProxyType.MANUAL);
seleniumProxy.setHttpProxy("localhost:53316");
seleniumProxy.setSslProxy("localhost:53316");
Please help on this..