map_locator_to_source
Locates the exact line of test code responsible for a failing browser action by analyzing the execution stack from Playwright traces.
Instructions
Maps a failing browser interaction (or a specific action index) to its corresponding line of code in the test file using the execution stack from the test runner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_path | Yes | Absolute path to trace.zip, or a URL (https://) to download it from | |
| action_index | No | Index of the action (0-based). Defaults to the failing action. |