browsermob in JAVA with Selenium doesn't work, different errors for browsers
问题 I using Java with selenium and I want to use browsermob: I using same code for different browsers e.g. firefox: BrowserMobProxyServer proxyServer = new BrowserMobProxyServer(); proxyServer.start(); proxyServer.setHarCaptureTypes(CaptureType.getAllContentCaptureTypes()); proxyServer.enableHarCaptureTypes(CaptureType.REQUEST_CONTENT, CaptureType.RESPONSE_CONTENT); Proxy proxy = ClientUtil.createSeleniumProxy(proxyServer); DesiredCapabilities dccFirefox = DesiredCapabilities.firefox();