Tools
Stop Trace Collection
Stops trace collection and saves captured traces to specified files.
Trace Collection
This tool stops trace collection and saves captured traces to specified files. Use it to complete your trace recording session, save traces for subsequent test generation, and export traces for analysis or sharing.
When stopping collection, you can provide output filenames for both the Playwright trace (typically a ZIP file) and the backend trace (typically a JSON file). You can specify an output directory for organized storage and provide the worker container name for proper cleanup of trace collection infrastructure. The tool ensures all collected data is properly saved and trace collection resources are cleaned up.