Skip to main content

Export traces as JSON

F
Written by Flakron Bajrami

You can export the traces in your project as JSON from Settings → Export traces → Export to JSON.

The JSON export is designed for backup, migration, and custom integrations. It downloads your trace data in a machine-readable format without converting it into executable test code.


What gets exported?

Selecting Export to JSON downloads a ZIP archive named traces-export.json.zip.

The archive contains one .json file for each trace in your project.

Each file includes the complete representation of the corresponding trace, including:

  • Trace metadata

  • Recorded steps

  • Step configuration

  • Element locators

  • Other trace settings


Common use cases

JSON export is useful when you want to:

  • Create a backup of your traces

  • Store traces outside of Usetrace

  • Build custom tooling around the trace format

  • Compare trace changes over time

  • Migrate trace data between systems


What the export does not include

The JSON export does not generate runnable Selenium or automation tests.

It is intended as a machine-readable representation of your recorded traces.


How to export

  1. Open your project.

  2. Navigate to Settings → Export traces.

  3. Click Export to JSON.

  4. Wait for the ZIP file to download.

  5. Extract the archive to access the individual JSON files.


Need help?

If you experience problems exporting your traces, please contact us through the in-app chat and include:

  • The project name

  • The trace name (if applicable)

  • A description of the issue

Did this answer your question?