This is my program , i am not able to do netexport in Mac, kindly help.
Preview also does not open.
public static void main(String[] args) throws IOException, InterruptedException {
FirefoxProfile profile = new FirefoxProfile();
File firebug = new File("firebug-2.0.1.xpi");
File netExport = new File("netExport-0.7b7.xpi");
profile.addExtension(firebug);
profile.addExtension(netExport);
profile.setPreference("app.update.enabled", false);
String domain = "extensions.firebug.";
// Set default Firebug preferences
profile.setPreference(domain + "currentVersion", "1.9.2");
profile.setPreference(domain + "allPagesActivation", "on");
profile.setPreference(domain + "defaultPanelName", "net");
profile.setPreference(domain + "net.enableSites", true);
// Set default NetExport preferences
profile.setPreference(domain + "netexport.alwaysEnableAutoExport", true);
profile.setPreference(domain + "netexport.showPreview", true);
profile.setPreference(domain + "netexport.defaultLogDir", "/Users/aramachandran/Desktop/");
WebDriver driver = new FirefoxDriver(profile);
Thread.sleep(5000);
driver.get("http://www.softwareishard.com");
// Wait till HAR is exported
Thread.sleep(5000);
driver.quit();