Network logs
Network Logs (HAR)
BugBug automatically captures network activity during every test run β both local and cloud. This lets you inspect HTTP requests, responses, status codes, and timing to diagnose failures caused by API errors, slow endpoints, or unexpected redirects.
How to access network logs
Network logs are available for every test run when they are enabled (by default) in Project Settings.
Go to the Runs history
Go to the failed test run and click Details
Click Download network logs (HAR) to download the file
π‘ The download link is also available directly in the failed step when the test failed.

What is a HAR file?
HAR (HTTP Archive) is a JSON-based standard that records all network requests made by the browser during a test. The file is compressed as a .zip archive containing a .har file inside.
Each entry in a HAR file includes:
URL β the full request URL
Method β GET, POST, PUT, etc.
Status code β e.g. 200, 404, 500
Request & response headers
Request body (for POST/PUT requests)
Response body
Timing β how long each request took
How to open a HAR file
After downloading and unzipping the archive, you can open the .har file in several ways:
Chrome DevTools
Open Chrome DevTools β Network tab
Drag and drop the
.harfile into the Network panel
Online viewers
HAR Analyzer by Google β good for quick inspection
HAR Viewer β detailed timeline view
Other tools
Firefox DevTools (Network tab β Import)
Charles Proxy, Fiddler, Insomnia β for deeper analysis
Common debugging scenarios
API returning an error
Look for requests with status codes 4xx or 5xx. Check the response body for error messages from your backend.
Test failing on page load
Look for failed requests to JS bundles or critical API calls that happen right after navigation.
Assertion failing unexpectedly
Check if the data your test asserts against is fetched correctly β the response body will show what the server actually returned.
Slow or timing-out steps
Review the timing column to find requests that take unusually long and may be causing timeout failures.
Last updated
Was this helpful?

