browser_select_frame
Execute JavaScript inside a specific iframe by its index. Get the index from browser_list_frames first, then run code in that frame.
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) |