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();
}
On Tuesday, September 21, 2010 at 4:43:56 AM UTC+5:30, Len wrote:
>
> Mac OS X v 10.6.4
> Firefox 3.6.10
> Firebug 1.5.4
> NetExport 0.8b5
>
>
> I'm unable to actually export the .HAR file. More specifically, it
> appears the file gets exported (and preview opens and I see the
> contents) and the file selection dialog opened by NetExport shows .har
> files, but they are invisible to Finder (or the find command from
> Command window prompt).
>
> This worked as expected on a Windows machine.
>
> Cheers,
> Len
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/a86d5306-9705-404a-875c-99e4ce81ed2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.