Sometimes Harness Support will ask you to generate a HAR file. This can help us to troubleshoot the issue because the HAR file captures network calls being made.
Note that the instructions listed below can differ slightly depending on your OS and the version of the browser that you are currently running on.
The HAR file capture should be initiated before the issue in question is encountered in the browser to ensure the capture of the necessary network calls that are being made. Adding the URL and a screenshot into the ticket of where you are encountering the issue can also be helpful as the HAR file itself may not contain this information if you are already on the page that the network capture is being initiated on.
The following instructions provide the steps to generate a HAR file for troubleshooting (Chrome).
- Open Google Chrome and go to the page where the issue is occurring.
- Look for the Vertical ellipsis button and select More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- Look for a round Record button in the upper left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.
- Check the box Preserve log.
- Click the Clear button to clear out any existing logs from the Network tab.
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once you have reproduced the issue, right-click anywhere on the grid of network requests, select Save as HAR with Content, and save the file to your computer.
- Upload your HAR file to your ticket
The following instructions provide the steps to generate a HAR file for troubleshooting (Firefox).
- Open your browser.
- Press Ctrl + Shift + E to display the Network Monitor.
- Re-create the error you want to share with technical support.
- Select one of the action requests.
- Select Save as a HAR file from the context menu.
The following instructions provide the steps to generate a HAR file for troubleshooting(Safari).
- Open your browser.
- Press Option + Command + i to view the page.
- Select the Network tab.
- Reproduce the error
- Select Export as HAR File