i want get network information from firefox with selenium. I did it with chrome driver, like this
logPrefs.enable( LogType.PERFORMANCE, Level.ALL );
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.setCapability("goog:loggingPrefs", logPrefs);
chromeOptions.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);
#and it is log code,
LogEntries logs = driver.manage().logs().get("performance");
I can get network logs and endpoint with this code. How can i get it from firefox? When i try it it is give it a error.
Caused by: org.openqa.selenium.json.JsonException: Unable to determine type from: H. Last 1 characters read: H
thank you