get_trace_data
Retrieve in-page traces and cross-navigation cache from the browser to debug JavaScript behavior across page loads.
Instructions
Retrieve in-page traces and BrowserManager's cross-navigation cache.
The Python-side cache is the authoritative source after reload/navigation.
Every new trace entry includes frame metadata (URL, name, best-effort
index, and main-frame flag).
Trace IDs use installation/call counters, without page randomness. They are
local to a realm: frames/reloads may repeat IDs and even complete entries.
Merge the two sinks as multisets of full entries, removing only one cached
copy per matching live copy. Repetitions within either sink are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| world | No | isolated | |
| frame_url | No | ||
| frame_name | No | ||
| frame_index | No | ||
| function_path | No | ||
| include_persistent | No |