extensions.firebug.net.enableSites is not working

63 views
Skip to first unread message

Praneel Redlapalle

unread,
Jul 19, 2013, 9:19:46 PM7/19/13
to fir...@googlegroups.com
Hi,

I followed the post on http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/ to capture all network traffic in a .HAR file.
But then, for every URL redirect, a new HAR file is being generated.
I would prefer to have a single .HAR file generated @ the end of test. I tried using "extensions.firebug.net.enableSites" by setting it to "true"
But there seems to be no impact. 

My code - 

profileAutoUser.setPreference(domain + "currentVersion", "1.11.4");
profileAutoUser.setPreference(domain + "allPagesActivation", "on");
profileAutoUser.setPreference(domain + "defaultPanelName", "net");
profileAutoUser.setPreference(domain + "net.enableSites", true);
profileAutoUser.setPreference(domain + "net.persistent", true);

// Set default NetExport preferences
profileAutoUser.setPreference(domain + "netexport.alwaysEnableAutoExport", true);
profileAutoUser.setPreference(domain + "netexport.autoExportToFile", true);
profileAutoUser.setPreference(domain + "netexport.showPreview", false);
profileAutoUser.setPreference(domain + "netexport.defaultLogDir", "C:\\Automation\\har\\");

Please help!

Thanks,
praneel

Jan Honza Odvarko

unread,
Jul 22, 2013, 12:15:41 PM7/22/13
to fir...@googlegroups.com
Do you have an online page I could try to reproduce the problem on my machine?

Honza

Praneel Redlapalle

unread,
Jul 23, 2013, 12:49:43 AM7/23/13
to fir...@googlegroups.com
You could try any page. For instance - 
driver.get("http://www.google.com") followed by driver.get("http://www.yahoo.com")

Thanks,
praneel
Reply all
Reply to author
Forward
0 new messages