browsermob-proxy
browsermob-proxy copied to clipboard
browsermobproxy does not capture HAR files entries when using the Proxytype.PAC for Firefox.
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..
Any update on this? @geowills234 Were you able to find any workaround?
@geowills234 I'm also experiencing this issue and my code looks identical to yours, is there a workaround?
I didn't spend time in find the solution further as My priority changed as it didn't work.
On Sun, Mar 19, 2023, 4:58 PM creepcc @.***> wrote:
@geowills234 https://github.com/geowills234 I'm also experiencing this issue and my code looks identical to yours, is there a workaround?
— Reply to this email directly, view it on GitHub https://github.com/lightbody/browsermob-proxy/issues/743#issuecomment-1475218211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFXMG7YZKGDTZ3SCNV5MX3W43NVJANCNFSM4E3IOZXA . You are receiving this because you were mentioned.Message ID: @.***>