- Open Google Chrome and navigate to the website that you want to capture the HAR file for.
- Open the Developer Tools panel by pressing F12 or right-clicking anywhere on the page and selecting "Inspect".
- Click on the "Network" tab in the Developer Tools panel.
- Make sure the "Preserve log" option is selected. This will ensure that all network requests are captured in the HAR file.
- Refresh the page to start capturing the network traffic.
- Once the page has finished loading, right-click anywhere in the Network tab and select "Save as HAR with Content".
- Choose a location to save the HAR file and click "Save".
- Open Mozilla Firefox and navigate to the website that you want to capture the HAR file for.
- Open the Developer Tools panel by pressing Ctrl+Shift+I or by selecting "Web Developer" > "Network" from the Firefox menu.
- Click on the "Network" tab in the Developer Tools panel.
- Make sure the "Persist Logs" option is selected. This will ensure that all network requests are captured in the HAR file.
- Refresh the page to start capturing the network traffic.
- Once the page has finished loading, right-click anywhere in the Network tab and select "Save All As HAR".
- Choose a location to save the HAR file and click "Save".
That's it! You now have a HAR file that contains all of the network requests made by the website.