-
Notifications
You must be signed in to change notification settings - Fork 14
devtools.netmonitor.har.enableAutoExportToFile Not Working #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @ybahador that functionality was only for the old version https://github.com/firebug/har-export-trigger You need to get the HAR using JavaScript. Best |
Hey @soulgalore Could you please give a hint or example for getting the HAR using JS? I have tried to programmatically download the HAR. Are there any other ways to do it? |
For me works the following code:
Also don't forget to launch geckodriver with argument --devtools and set option "devtools.toolbox.selectedTool" to "netmonitor" as mentioned here |
@vasinkd Thank you very much! |
@vasinkd I am not following how that code piece does output. Does that just print it to the log? I am having difficulty with getting the values to write to a file. I have attempted to use the following code
but the downloaded file only contains the following (11 entries are in the network tab) [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] Any help? Thanks. |
Sorry for the long reply. Also, I should notice that I managed to make it work only with har-export-trigger v. 0.6.0 as it is mentioned here: #31 |
Hi,
I'm trying to export HAR files automatically for each page that I visit. I've modified the following options through about:config but Firefox isn't generating any output files.
Having devtools open doesn't help either.
I'm testing this on Firefox 63.0.1 on a 64bit Linux machine.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: