Hey Honza,

Did you get a chance to take a look at the issue ?

On Wednesday, May 4, 2016 at 11:21:14 AM UTC+5:30, Arjun Talwar wrote:
>
> Thanks for replying Honza. 
> Yes, like i mentioned above, I have used har export trigger to save the 
> har files.
> For that I am using the following preferences -
>
>         
> profile.setPreference("extensions.netmonitor.har.enableAutomation", true);
>         profile.setPreference("extensions.netmonitor.har.contentAPIToken", 
> "test");
>         profile.setPreference("extensions.netmonitor.har.autoConnect", 
> true);
>
> but i get a different HAR file for each page navigated instead of just one 
> cummulative HAR file.
>
> Is there a way to persist the entire sessions data into a single HAR file ?
>
>
> On Tuesday, May 3, 2016 at 8:03:48 PM UTC+5:30, Jan Honza Odvarko wrote:
>>
>> Did you try HARExportTrigger?
>> http://www.softwareishard.com/blog/har-export-trigger/
>>
>> Honza
>>
>>
>> On Tuesday, May 3, 2016 at 4:25:55 PM UTC+2, Arjun Talwar wrote:
>>>
>>> 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/ce795927-110e-4ec2-bf18-39226f67f474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to