BrowsermobProxy does not capture har logs for Microsoft Edge
See original GitHub issueHi BrowserMob version 2.0.0
below is my script. `// start the proxy ProxyServer server = new ProxyServer(4444); server.start(); //captures the moouse movements and navigations server.setCaptureHeaders(true); server.setCaptureContent(true);
Proxy proxy = server.seleniumProxy(); DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.PROXY, proxy);
WebDriver driver = new EdgeDriver(capabilities); server.newHar(“har123”);
driver.get(“http://yahoo.com”);
// get the HAR data Har har = server.getHar(); server.stop(); driver.quit(); `
My scripts work perfectly fine for chrome and firefox. When I try similar setup with MicrosoftEdge. The Scripts as normal but no Har entries are captured.“server.getHar()” returns blank.
in the log it says trying to read status from localhost<port> (not the exact error message)
My question:
- Does BrowserMob work with MS Edge?
- Does Edge needs any specific settings. My URL is a https url.
- Do we have a sample setup for MS edge with browsermob?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top GitHub Comments
FYI, I’ve seen something similar. My scenario:
Edge version:
What I see:
newPage()
I make.Workaround:
H
and portP
H
and portP