Closed Bug 1513984 Opened 6 years ago Closed 2 months ago

Not able to save individual selected requests to HAR

Categories

(DevTools :: Netmonitor, defect, P3)

64 Branch
defect

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: 13hurdw, Assigned: xpresskaran98)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 Steps to reproduce: Open Network Inspector Visit https://mozilla.org Select a request Right click Actual results: Option to Save All as HAR, but no option to save just the selected request to HAR file. Filter then "Save All as HAR" will export only filtered requests, but it would be nice to have a single request save option. Also, different issue but select multiple requests with CTRL does not work. Expected results: An option to save only the selected request as HAR.
See Also: → 1383655

Thanks for the report!

Agree, this would be useful feature.

Honza

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
Duplicate of this bug: 1825209

Hi,

Thank you for reporting this issue. I’d like to work on implementing the feature to save a single request as a HAR file.

To clarify, this would involve:

  1. Adding an option in the context menu (right-click) to "Save Selected Request as HAR."
    
  2. Ensuring the functionality integrates well with the current "Save All as HAR" feature.
    

Regarding the issue with selecting multiple requests using CTRL, I’ll look into whether this is related or would require a separate fix.

Please let me know if there are any guidelines or specifics I should keep in mind while working on this. Looking forward to your feedback!

Hi,
Just following up on my previous comment to express my continued interest in working on this issue. If there's anything specific you’d like me to keep in mind or if I should coordinate with someone, please let me know.

Looking forward to your feedback!

The selected request can be saved in .har file.

Assignee: nobody → xpresskaran98
Status: NEW → ASSIGNED

Sorry about the delay, most of us were on holiday break for the past few weeks.

(In reply to Karan Yadav from comment #3)

[...]

Regarding the issue with selecting multiple requests using CTRL, I’ll look into whether this is related or would require a separate fix.

I wouldn't try to address this. At the moment only one request can be selected in the netmonitor, and this drives the content of the sidepanel which shows the request's details. Changing this to allow several requests to be selected would require some changes on the UI/UX side as well.

Please let me know if there are any guidelines or specifics I should keep in mind while working on this. Looking forward to your feedback!

You managed to submit a patch already, so you probably figured most of the basics already, but just in case we have docs at https://firefox-source-docs.mozilla.org/setup/contributing_code.html

When possible, we should also try to write tests when adding new features, I'll try to give some pointers on Phabricator.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/42c999e7ecd2 [devtools] Add 'Save As HAR' to the context menu. r=devtools-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/55a6e700fddc [devtools] Add the test to test the "Save As HAR". r=devtools-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: