- Introduction
- Getting started
- FAQ
- Integrations
- API
- Recipes
Recording HAR
Learn how to record HAR files in the browser.
You can record the network of your application using your browser’s DevTools. Once recorded, you can import the *.har
file in your code to generate request handlers from a network archive.
Below, you can find detailed instructions on how to record HAR files in all of the modern browsers.
Chrome
- Open the DevTools (⌘ + ⌥ + I on MacOS; Ctrl + Shift + I on Windows/Linux ⌘ + ⌥ + I on MacOS; Ctrl + Shift + I on Windows/Linux);
- Click on the “Network” tab in the DevTools;
- Click the ⤓ (Export HAR…) icon;
- Choose where to save the HAR file.
Firefox
- Open the Dev Tools (⌘ + ⌥ + I on MacOS; Ctrl + Shift + I on Windows/Linux);
- Click on the ”⇅ Network” tab in the Dev Tools;
- Click on the ⚙ icon next to the throttling settings;
- Choose “Save all as HAR”;
- Choose where to save the HAR file.
Safari
- Open the Dev Tools (⌘ + ⌥ + I);
- Click on the ”⇅ Network” tab in the Dev Tools;
- Click on the Export button;
- Choose where to save the HAR file.