firebug / firebug.next

Next Firebug generation built on top of native Firefox developer tools
Other
229 stars 37 forks source link

How to use NetExport.trigger #410

Closed raicabogdan closed 9 years ago

raicabogdan commented 9 years ago

Hello,

Sorry for being a pain but I really spent a whole night to only test and learn this. I normally don't ask without at least trying.

I'm using firefox 40.0.3 by default (my normal browser), I installed firebug-next, last one alpha 13.

I tried using the netexport trigger to generate a har file, but it seems this does not work at all.

No error also.

My settings: config

It would be super cool if the extension could be documented. If I can help with anything, I would be more than willing to help out. But everything I've read in the past hours was something like this:

firebug 2 + netexport can do har export to file or to server. It can also do automatically to file or server. All good. But I don't know if you can use a trigger for netexport with firebug 2 at the moment, I found some old discussion where apparently was implemented, but I could not find any docs related to it. Was also receiving some errors that the reference netexport was not defined, or something similar.

Firebug 3 or firebug-next should have the netexport already in the extension. So to my understanding, the trigger should have been working at this point based on an issue here in git. However, this time I have received no errors, but was not generating it either.

So my questions are ...

  1. How do you actually use this?
  2. How can I help ?

Thank you again.

janodvarko commented 9 years ago

Take a look at this page: http://www.softwareishard.com/blog/har-export-trigger/

This is now the supported way how to automatically export HAR (note that min Fx version is 42+)

Honza

raicabogdan commented 9 years ago

So then the netexport API trigger was removed ?

LE: your response was really fast ... thanks!

janodvarko commented 9 years ago

Yes

raicabogdan commented 9 years ago

I currently use Firefox 42.0a2, installed har-export-trigger, last release, 0.5.0-beta.5.

The following test page gives in console log:

ReferenceError: HAR is not defined

Am I doing anything wrong?

janodvarko commented 9 years ago

It should be working.

Please take a look at: https://github.com/firebug/har-export-trigger/issues/2

Also, can you please report an issue in HARExportTrigger issue list? (we can continue discussion there)

I'll close this one since HARExportTrigger has nothing to do with Firebug.next

Thanks! Honza