Thanks for your response. I am using the below code to create the Firefox profile and launch a FF browser from Selenium. If i set extensions.firebug.allPagesActivation to false then I cant see Firebug in the launched FF and HAR file is not generated. Did you want me to change something else"
DesiredCapabilities capabilities = new DesiredCapabilities();
FirefoxProfile profile = new FirefoxProfile();
profile.addExtension(new File("D:\\firebug-2.0.8-fx.xpi"));
profile.addExtension(new File("D:\\netExport-0.9b6.xpi"));
profile.setEnableNativeEvents(true);
profile.setPreference("extensions.firebug.netexport.pageLoadedTimeout", 0);
profile.setPreference("extensions.firebug.currentVersion", "2.0.8");
profile.setPreference("extensions.firebug.defaultPanelName", "net");
profile.setPreference("extensions.firebug.net.enableSites", true);
profile.setPreference("extensions.firebug.allPagesActivation", "on");
profile.setPreference("extensions.firebug.showFirstRunPage", false);
profile.setPreference("extensions.firebug.netexport.defaultLogDir", "D:\\HAR FIle");
profile.setPreference("extensions.firebug.netexport.saveFiles", true);
profile.setPreference("extensions.firebug.netexport.alwaysEnableAutoExport", true);
profile.setPreference("extensions.firebug.netexport.includeResponseBodies", false);
profile.setPreference("extensions.firebug.netexport.exportFromBFCache", true);
profile.setPreference("extensions.firebug.netexport.secretToken", "abcd");
profile.setPreference("extensions.firebug.netexport.showPreview", false);
profile.setPreference("extensions.firebug.net.defaultPersist", true);
profile.setPreference("extensions.firebug.console.defaultPersist", true);
capabilities.setCapability(FirefoxDriver.PROFILE, profile);
driver = new FirefoxDriver(capabilities);
Thanks,
Suman