webmetrics / browsermob-proxy

NOTICE: this project has been forked and is being maintained at https://github.com/lightbody/browsermob-proxy
https://github.com/lightbody/browsermob-proxy
Apache License 2.0
233 stars 780 forks source link

Browsermob proxy server crashes websites #126

Open arno86 opened 8 years ago

arno86 commented 8 years ago

trying to use browsermob proxy server by fallowing code:

    final int port = 9000;
    server  = new ProxyServer(port);
    server.start();         
    final DesiredCapabilities dc = new DesiredCapabilities();
    dc.setCapability(CapabilityType.PROXY, server.seleniumProxy());         
    setName("test");
    FirefoxBinary binary = new FirefoxBinary(new File("C:\\Program Files (x86)\\ff21\\firefox.exe"));
    File profileDir = new File("C:\\Users\\arno\\Documents\\profiles\\firefox21.default");
    FirefoxProfile profile = new FirefoxProfile(profileDir);
    driver = new FirefoxDriver(binary, profile, dc);//;
    server.newHar("monitis");

but it crashes the website: see the capture . and the console capture

I'm using Selenium 2.43 Mozilla FF 21 browsermob-proxy-2.0-beta-3.jar