@robin - 'Allow Access' popup is being displayed while starting the
proxy (using Java). When I choose 'Allow Access' option, I see below 4
lines of code in eclipse:
INFO 06/07 17:01:57 o.b.p.j.h.HttpServer - Version Jetty/5.1.x
INFO 06/07 17:01:57 o.b.p.j.u.Container - Started HttpContext[/,/]
INFO 06/07 17:01:57 o.b.p.j.h.SocketLis~ - Started SocketListener on
0.0.0.0:8100
INFO 06/07 17:01:57 o.b.p.j.u.Container - Started
org.browsermob.proxy.jetty.jetty.Server@10382a9
@Ryan - Thanks for your inputs. I even tried creating profile in
firefox using Java with below mentioned code - but still the same
issue occurs:
ProxyServer server = new ProxyServer(8100);
server.start();
server.setCaptureHeaders(true);
server.newHar("
https://www.gmail.com");
Proxy proxy = server.seleniumProxy();
FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(true);
profile.setProxyPreferences(proxy);
capabilities.setCapability(FirefoxDriver.PROFILE,profile);
capabilities.setCapability(CapabilityType.PROXY, proxy);
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("
http://google.com");
Could you share any code snippet that you use to create firefox
profile and configure firefox-browsermobproxy??
Thanks..