hey All,

I am using firefox 43 with Selenium 2.51 and trying to run selenium 
webdriver tests and capture the har data using the inbuilt netmonitor 
options in firefox.
i am using the following firefox profile -
  profile.setPreference(FirefoxProfile.ALLOWED_HOSTS_PREFERENCE, 
localHostAlias);
        
        
        profile.setPreference("devtools.netmonitor.enabled", true);
        profile.setPreference("devtools.netmonitor.har.compress", false);
        profile.setPreference("devtools.netmonitor.har.defaultFileName", 
"HarOutputExport_%y%m%d_%H%M%S");
        profile.setPreference("devtools.netmonitor.har.defaultLogDir", 
"D:\\SeleniumInstrumentationJars\\HarOutputDir");
        
profile.setPreference("devtools.netmonitor.har.enableAutoExportToFile", 
true);
        profile.setPreference("devtools.netmonitor.har.forceExport", true);
        
profile.setPreference("devtools.netmonitor.har.includeResponseBodies", 
true);
        profile.setPreference("devtools.netmonitor.har.jsonp", false);
        profile.setPreference("devtools.netmonitor.har.jsonpCallback", 
false);
        profile.setPreference("devtools.netmonitor.har.pageLoadedTimeout", 
"2500");
        profile.setPreference("extensions.netmonitor.har.enableAutomation", 
true);
        profile.setPreference("extensions.netmonitor.har.contentAPIToken", 
"test");
        profile.setPreference("extensions.netmonitor.har.autoConnect", 
true);

I use the har export trigger extension to save the har file.

However, i am getting a multiple har files - one for each page 
navigated.... is there a way to generate only 1 har file with data 
pertaining to all the pages ?

Earlier I was using firebug + netexport plugins but they are too 
inconsistent with the data they generate, so ive stopped using those.

Please help..

-- 
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 https://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/9930a023-e883-408f-8d13-728aeebf27e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to