# Generate HAR File for Troubleshooting

{% hint style="info" %}
HAR file stores additional information network requests that are generated in your browser while an issue occurs.\
It is required for the engineering team for further analysis while there are issues related to coverage.
{% endhint %}

#### How to generate the HAR file for Chrome browser <a href="#how-to-generate-the-har-file-for-chrome-browser" id="how-to-generate-the-har-file-for-chrome-browser"></a>

1. Open Google Chrome and go to the page where the issue is occurring.
2. Look for the Vertical ellipsis button (on the upper-right side of the browser) and select More Tools → Developer Tools.

   ![](/files/QmKby8zXrgS4R5BCwAmm)
3. From the panel opened, select the **Network** tab.
4. Look for a round **red** 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.
5. Check the box **Preserve log.**

   <figure><img src="/files/i63iSKZuYdnZbDvwvEc9" alt=""><figcaption></figcaption></figure>
6. Click the Clear button (right to the Record button) to clear out any existing logs from the Network tab.
7. Reproduce the issue that you were experiencing before, while the network requests are being recorded.
8. Once you have reproduced the issue, in Chrome, click **Export HAR** to download. Then save the file to your computer: **Save as HAR with Content.**

   <figure><img src="/files/9dO6zEei7LYBp9HaEl5j" alt=""><figcaption></figcaption></figure>
9. Upload your HAR file to your ticket or attach it to your email so that our Support team can analyze it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/general/missing-or-insufficient-test-stage-coverage/generate-har-file-for-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
