Record traffic from a browser
This guide records the traffic of a desktop browser. For phones, see Record from iOS and Record from Android. Read the overview first if you have not used a recorder before.
-
Create a recorder. Open Proxy recorders in the console and choose to create one. Give it a name, pick where it runs (Run on), choose how devices reach it (Phones reach it; Public proxy address works from anywhere), and choose what to capture: Everything (bodies included, best for turning a recording into a test), Headers only, or Just the requests.
-
Start it. Choose Start recorder and wait until the status is ready. A recorder that is still deploying shows no connection details yet.
-
Copy the connection details. On the Connect tab, copy the Server, Port, and Username, then choose Reveal to see the password. Only workspace admins can reveal it. Use these values wherever this guide says
<host>,<port>,<user>, and<password>; they differ per recorder and environment. -
Set the proxy in the browser. Chrome and Edge use the operating system’s proxy settings (or start Chrome with
--proxy-server="http://<host>:<port>"). Firefox has its own: Settings → General → Network Settings → Settings → Manual proxy configuration, set the HTTP proxy and tick Also use this proxy for HTTPS. The browser asks for the username and password on the first request. -
Install the recorder certificate. On the Connect tab, download the certificate (Download .pem or Download .crt). Chrome and Edge trust the operating system’s certificate store: install it there as a trusted root certificate authority. In Firefox, use Settings → Privacy & Security → Certificates → View Certificates → Authorities → Import and trust it to identify websites. The certificate is unique to this recorder.
-
Browse. Open the site or app you want to record and walk through the flow. In Live capture, requests appear within a few seconds. The table opens on the newest 200 flows; choose Load earlier to see older ones. A streaming response, such as Server-Sent Events, appears as one flow when the stream closes.
-
Stop the recorder. Choose Stop recorder. The recording is sealed and kept under Traffic recordings. You now see your first flows saved. Continue with Convert to tests.
Check the proxy from a terminal
Section titled “Check the proxy from a terminal”Before you debug the browser, confirm the proxy works. The Connect tab shows this command with your values filled in:
curl -x http://<user>:<password>@<host>:<port> --cacert ca.pem https://example.comHere ca.pem is the certificate you downloaded. A successful response means the proxy, credentials, and certificate are fine, and the request shows up in Live capture.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | What to do |
|---|---|---|
| The browser shows a proxy authentication error (HTTP 407) | Wrong credentials, or the device is not paired | Copy the username again, reveal the password, and retry. Rotate the password in Settings if you are unsure. |
| A certificate warning on every HTTPS site | The recorder certificate is not trusted yet | Install the certificate in the store your browser uses (see step 5). After Rotate certificate in Settings, install the new one. |
| Nothing appears in Live capture | The proxy is not applied, or the host is filtered out | Run the curl check. Review Hosts in the recorder’s Settings: an empty include list records every host. |
| A host shows under Needs attention | The app rejected the recorder certificate (pinning), or does not trust user-installed certificates | See Security and limits. |