har-export-trigger
har-export-trigger copied to clipboard
unable to automatically saves HAR to local dir
Hi @soulgalore, @janodvarko
Can you help me out on this? Using this script, var options = { token: "test", fileName: "my test har file %Y, %H:%M:%S" // Name of the file };
HAR.triggerExport(options).then(result => { // The local file is available now, result.data is null since options.getData wasn't set. });
which was working way back on firefox 45,and now it's no longer working for me using firefox 61.
HAR file in not available in this target directory: The default target directory is
Hi @shigatsuverame you are using the old plugin. With the new one you need to fetch it with JavaScript and store the file yourself.
Best Peter