I have attached a webdriver test that is run from Java.
It consistently generates the har file fir Firebug 3 alpha 9 & Firefox 37.

Make sure you set values for all the properties that I've used in the test.
Also make sure that firebug 3 is loaded by the test 

On Wednesday, April 8, 2015 at 1:47:39 AM UTC+5:30, José Castro wrote:
>
> Still getting undefined, but the 
> window.NetExport.triggerExport('my_secret_token')  still get Undefined  and 
> no HAR file :(
>
> On Tuesday, April 7, 2015 at 4:07:14 PM UTC-3, José Castro wrote:
>>
>> Derp... I need more coffee.
>> I only read the end of the preferences, I need to add @software ... 
>> Now I can see the panel, I will continue checking all the preferences to 
>> get the HAR automatically.
>>
>> On Monday, April 6, 2015 at 12:50:55 PM UTC-3, Senthil wrote:
>>>
>>> window.NetExport.trigger("secretcode") is working with Firebug 3 and 
>>> Firefox 37.
>>>
>>> Tried it today - the options seems to have changed to 
>>> "[email protected]"
>>>
>>> "extensions.fire...@software.joehewitt.com.netexport.alwaysEnableAutoExport"
>>> etc.
>>>
>>>
>>> On Wednesday, April 1, 2015 at 2:16:32 AM UTC+5:30, José Castro wrote:
>>>>
>>>> Doesn't work, I still get undefined with NetExport.triggerExport() 
>>>> (also the Firebug panel doesn't show automatically).    :(
>>>>
>>>> Now isn't necessary to load NetExport plugin ? 
>>>>
>>>> On Saturday, March 21, 2015 at 3:36:42 AM UTC-3, Jan Honza Odvarko 
>>>> wrote:
>>>>>
>>>>> You can use NetExport.triggerExport() API that are exposed in to the 
>>>>> page content
>>>>> A new HAR file will be created in the output directory.
>>>>>
>>>>> Honza
>>>>>
>>>>> On Saturday, March 21, 2015 at 7:04:48 AM UTC+1, José Castro wrote:
>>>>>>
>>>>>> Now net export can continue adding info to the HAR ?
>>>>>> for example, I testing with a page like a youtube, then In certain 
>>>>>> time I need to load some scripts, but I see the HAR file and that 
>>>>>> request 
>>>>>> doesn't appears :(
>>>>>>
>>>>>> On Tuesday, February 17, 2015 at 1:19:59 PM UTC-3, Jan Honza Odvarko 
>>>>>> wrote:
>>>>>>>
>>>>>>> Firebug 3 alpha 9 has been released:
>>>>>>>
>>>>>>> https://github.com/firebug/firebug.next/releases/tag/firebug-3.0.0-alpha.9
>>>>>>>
>>>>>>> This version includes support for automated (and also manual)
>>>>>>> HAR export. The logic has been ported from NetExport extension.
>>>>>>>
>>>>>>> 1. All preferences and logic remains the same.
>>>>>>> 2. The testing combo should be Firefox Nightly + Firebug 3 alpha 9 
>>>>>>>
>>>>>>> The main difference is that the Toolbox UI (and so, the Network 
>>>>>>> panel)
>>>>>>> can't be currently opened yet before the first browser tab is loaded.
>>>>>>>
>>>>>>> So, here is what you need to do in case of auto-export (driven e.g. 
>>>>>>> by Selenium)
>>>>>>>
>>>>>>> 1) The first browser tab opened by default should be about:blank
>>>>>>> You can set it in the preferences -> General -> When Nightly starts: 
>>>>>>> show a blank page
>>>>>>> (or set Home page to: about:blank)
>>>>>>> 2) Set 'extensions.firebug.allPagesActivation' to 'on' (string)
>>>>>>> 3) Set 'extensions.firebug.netexport.alwaysEnableAutoExport' to 
>>>>>>> 'true' (boolean)
>>>>>>> 4) Start loading test case pages.
>>>>>>>
>>>>>>> Of course there are other prefs you can set (the same as you used to 
>>>>>>> use).
>>>>>>>
>>>>>>> I mostly need feedback at this moment.
>>>>>>>
>>>>>>> What doesn't work for you?
>>>>>>>
>>>>>>> Please report any issues in our issue list here:
>>>>>>> https://github.com/firebug/firebug.next/issues
>>>>>>>
>>>>>>> Honza
>>>>>>>
>>>>>>>

-- 
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/34b96d7b-5e95-4849-92bd-ee8aed90fc30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to