> ## Documentation Index
> Fetch the complete documentation index at: https://docs.livingsecurity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture a HAR file

> Record browser network activity in Chrome, Edge, or Firefox and save it as a HAR file for Living Security Support.

A HAR, or HTTP Archive, file records the network requests that your browser makes while you reproduce a problem. Living Security Support can use this file to investigate page errors, failed requests, and slow responses.

<Warning>
  A HAR file can contain page addresses, request and response content, form values, cookies, authorization headers, and personal data. Capture only the affected workflow. Never post a HAR file in a public channel. Share it only through the secure method that Living Security Support provides.
</Warning>

## Before you start

* Open the page where the problem occurs.
* Sign in to the affected account.
* Wait to reproduce the problem until network recording is ready.
* Use test data when possible.

## Capture a HAR file in Chrome

<Steps>
  <Step title="Open Chrome DevTools">
    Right-click the page and select **Inspect**. You can also press **F12** or **Ctrl+Shift+I** on Windows and Linux. On macOS, press **Command+Option+I**.
  </Step>

  <Step title="Open the Network panel">
    Select **Network**. Confirm that the round record button is red.
  </Step>

  <Step title="Keep requests when needed">
    If the problem includes a page reload or redirect, select **Preserve log**.
  </Step>

  <Step title="Clear earlier requests">
    Select **Clear network log** to remove requests that occurred before the capture.
  </Step>

  <Step title="Reproduce the problem">
    Repeat the steps that caused the problem. Stop after the problem appears.
  </Step>

  <Step title="Export the HAR file">
    Select **Export HAR (sanitized)** in the Network panel toolbar. Save the file with the `.har` extension.

    <img src="https://mintcdn.com/livingsecurity/o8VXABYQj6ZZG_hM/images/image.png?fit=max&auto=format&n=o8VXABYQj6ZZG_hM&q=85&s=b058fcf8287a595cc3f694c4bb99750b" alt="Image" width="846" height="386" data-path="images/image.png" />
  </Step>
</Steps>

## Capture a HAR file in Edge

<Steps>
  <Step title="Open Edge DevTools">
    Right-click the page and select **Inspect**. You can also press **F12** or **Ctrl+Shift+I** on Windows and Linux. On macOS, press **Command+Option+I**.
  </Step>

  <Step title="Open the Network tool">
    Select **Network**. Confirm that the round record button is red.
  </Step>

  <Step title="Keep requests when needed">
    If the problem includes a page reload or redirect, select **Preserve log**.
  </Step>

  <Step title="Clear earlier requests">
    Select **Clear network log** to remove requests that occurred before the capture.
  </Step>

  <Step title="Reproduce the problem">
    Repeat the steps that caused the problem. Stop after the problem appears.
  </Step>

  <Step title="Export the HAR file">
    Select **Export HAR (sanitized)** in the Network tool toolbar. Save the file with the `.har` extension.

    <img src="https://mintcdn.com/livingsecurity/o8VXABYQj6ZZG_hM/images/image-3.png?fit=max&auto=format&n=o8VXABYQj6ZZG_hM&q=85&s=f9bef0c2f2b1683859e2fbe657d37e16" alt="Image" width="830" height="333" data-path="images/image-3.png" />
  </Step>
</Steps>

## Capture a HAR file in Firefox

<Steps>
  <Step title="Open Firefox Developer Tools">
    Right-click the page and select **Inspect**. You can also press **F12** or **Ctrl+Shift+I** on Windows and Linux. On macOS, press **Command+Option+I**.
  </Step>

  <Step title="Open the Network Monitor">
    Select **Network**. Confirm that network recording is active.
  </Step>

  <Step title="Keep requests when needed">
    If the problem includes a page reload or redirect, open the Network Monitor settings and select **Persist Logs**.
  </Step>

  <Step title="Clear earlier requests">
    Select the trash icon to remove requests that occurred before the capture.
  </Step>

  <Step title="Reproduce the problem">
    Repeat the steps that caused the problem. Stop after the problem appears.
  </Step>

  <Step title="Export the HAR file">
    Right-click a request in the request list and select **Save All As HAR**. Save the file with the `.har` extension.

    <img src="https://mintcdn.com/livingsecurity/o8VXABYQj6ZZG_hM/images/image-1.png?fit=max&auto=format&n=o8VXABYQj6ZZG_hM&q=85&s=f022f5eb27bb9742096e947a2f9c8c30" alt="Image" width="754" height="332" data-path="images/image-1.png" />
  </Step>
</Steps>

## Send the HAR file to Support

1. Confirm that the file name ends in `.har`.
2. Record the time when the problem occurred, including your time zone.
3. Upload the file through the secure method that Living Security Support provides.
4. Delete the local copy when your organization's data-handling policy requires it.

Chrome and Edge remove some sensitive headers from sanitized HAR exports. Other sensitive data can remain in the file. If Support needs a HAR file with sensitive data, Support will give you separate capture and transfer instructions.
