browser_select_frame
Select an iframe by index to execute JavaScript within it. Use after listing frames to target specific embedded content.
Instructions
Execute JavaScript in a specific iframe by frame index. Use browser_list_frames first to find the right index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | JavaScript to execute in the frame (default: returns text content) | |
| frame_index | Yes | Frame index from browser_list_frames (0 = main frame) |