select_iframe
Switch to an iframe and get a new session ID to interact with elements inside it, while keeping the parent session for page-level actions. Close the returned session when done.
Instructions
Switch into an iframe and return a NEW session id scoped to that frame's content — use it like a normal session for elements inside the iframe, and keep the parent id for page-level actions. Close the returned session when done. Needed because cross-frame content isn't reachable through the parent session's selectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the iframe element | |
| session_id | Yes | Parent session ID |