evaluate_on_call_frame
Evaluate a JavaScript expression in a paused call frame to inspect local variables during debugging.
Instructions
Evaluate an expression in the context of a paused call frame (access local variables). Requires the target to be paused — get callFrameId from get_paused_state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id from list_pages, or "main" (default) for the main process. | |
| sessionId | Yes | Session id returned by launch_app. | |
| expression | Yes | JavaScript expression to evaluate. | |
| callFrameId | Yes | Call frame id from get_paused_state. |