The following steps outline how to record network traffic in Safari and export the data to a HAR file for our team to review.
Go to site or page from where the issue is to be reproduced.
-
Enable web developer tools:
With Safari open and in focus, in menu bar, click Safari > Settings ....
Advanced > check "Show features for web developers" and close the settings window.
-
Open Safari Dev Tools, this can be done in one of the following ways:
Right-click on the page > Inspect Element
on Mac ⌘+⌥+i
From the menu bar > Develop > Show Web Inspector
Navigate to the Network tab.
First empty any requests in the Network tab, using the bin icon in the tool bar under the Network tab on the far right.
Ensure the Preserve log option is enabled (in toolbar below the Network tab, click the circle icon with three lines ⊜ > Preserve Log).
Ensure the "Disable Caches" option is enabled (checkbox in toolbar below the Network tab(far right).
Reload the page, and take the steps or actions that reproduces the issue or error. (the Network Tab should start to fill up)
After the error has been reproduced and with network traffic recorded under the Network tab the data can be exported.
-
Make sure no filters or text is written to the filter URLs input field, so all network traffic is exported.
Right click any request in the Network tab > "Export HAR"
From the tool bar under Network tab > Export
(far right)
Name and save
Before uploading a HAR file to a Support ticket, please make sure to zip/compress the file and, if not already done so, rename the file. Uncompressed HAR files are often over attachment limit sizes.
By default, HAR files use the page URL to name the file. Files with .com or other extensions can look suspicious to spam and phishing filters on our Support portal. Give the HAR file a descriptive name that doesn't include the full URL.
The following articles contain instructions for how to capture network requests in other browsers: