Collecting .HAR files will assist support teams in identifying the underlying cause of an issue in a platform.
Introduction
.HAR files can be obtained easily by accessing the developer tools on a web browser. Typically pressing F12 on your keyboard will bring up the developer tools section on a browser.
While the developer tools window is open, you will need to reproduce the issue before collecting the required files.
Below are a few scenarios on when to collect these logs.
- Unable to load the wallboard in the browser?
- Open the developer window (F12),
- Try loading the page again.
- Browser redirecting or giving an error message?
- Open the developer window (F12),
- Try loading the page again.
Collecting .HAR Files
Typically pressing F12 will bring up the developer tools section on a given browser. The .HAR files can be obtained via the Network tab and console logs can be obtained under the Console tab under 'Developer Tools'.
For browser-specific instructions, refer to the tabs below.
Google Chrome
-
- Open Google Chrome and go to the page where the issue is occurring.
- Press F12 or from the Chrome menu bar select 'More Tools' > 'Developer Tools'.
- From the panel that has opened, select the 'Network' tab.
Look for a red circular 'Record' button in the upper left corner of the tab, If it's grey, click it once to begin monitoring.
- From the left-hand side of the window (the actual website) reproduce the issue by clicking on the element with the issue (examples might include Submit Button, Save Button, Text Box etc.).
Once you have reproduced the issue, right-click anywhere on the grid of network requests, select 'Save all as HAR with Content', and save the file to your computer.
- Next, select the 'Console' tab. From the left-hand side of the window (actual website) reproduce the issue by clicking on the element with the issue (examples might include Submit Button, Save Button, Text Box etc.).
Once you have reproduced the issue, right-click anywhere on the grid of console requests, select 'Save as', and save the file to your computer.
- Advise the customer to attach the .HAR file and console logs to the ticket.
Firefox
-
- Open Firefox and go to the page where you are experiencing trouble.
Press F12 or select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select 'More tools' > 'Web Developer Tools'
- The Web Developer Tools opens as a docked panel at the side or bottom of Firefox. Click the 'Network' tab.
- Above the Web Developer Tools panel, reproduce the issue by clicking on the element with the issue (Examples might include Submit Button, Save Button, Text Box etc.).
- Once you have reproduced the issue and you see that all of the actions have been generated in the Web Developer Tools Network tab (should just take a few seconds), right-click anywhere under the File column and click on 'Save All As HAR'.
- From the Web Developer Tools panel, select the 'Console' tab. Select the Settings cog, ensure 'Persist Logs' is ticked.
- Once you have reproduced the issue, right-click anywhere on the grid of console requests and select 'Save all Messages to File'. Save the HAR file and console logs somewhere convenient.
- Advise the customer to attach the HAR file and console logs to the ticket.
Safari
-
Before generating the HAR file, make sure you can see the Develop menu in Safari.
If you don’t see the Develop menu in the menu bar, choose Safari > Settings, Select the 'Advanced' tab and check 'Show features for web developers'
- Open the 'Develop' menu and select 'Connect Web Inspector' or 'Show Web Inspector'
- Click the 'Network' tab.
- Above the Web Inspector panel (actual website) reproduce the issue by clicking on the element with the issue (example: Submit Button, Save Button, Text Box etc)
- Click the Export icon on the far right of the network tab and save the HAR file.
- Select the 'Console' tab.
- Right-click anywhere in the console and select 'Save as...'
- Name the log file 'console-log.txt'.
- Advise the customer to attach the HAR file and console logs to the ticket.
Edge
-
- Open Edge and go to the page where the issue is occurring.
- Press F12 or from the Edge menu bar click on the 3 dots > 'More Tools' > 'Developer Tools'.
- From the panel opened, select the Network tab. If it is not displaying, click the '+'and select 'Network'.
- 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.
- From the left-hand side of the window (actual website) reproduce the issue by clicking on the element with the issue (example: Submit Button, Save Button, Text Box etc)
- Once you have reproduced the issue, right-click anywhere on the grid of network requests, click the 'Export HAR' button in the toolbar to export the trace as a 'HAR' file and save the file to your computer.
- From the toolbar, select the Console tab.
- From the left-hand side of the window (actual website) reproduce the issue by clicking on the element with the issue (example: Submit Button, Save Button, Text Box etc.
- Once you have reproduced the issue, right-click anywhere on the grid of console requests, select 'Save as', and save the file to your computer.
- Advise the customer to attach the HAR file and console logs to the ticket.