Skip to content

browsermobproxy does not capture HAR files entries when using the Proxytype.PAC for Firefox. #743

@geowills234

Description

@geowills234

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions