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/18001bb5-332b-477c-8dc0-c87e7a7abb54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
