page.frame_switch
Switch the working context to an iframe. Exactly one parameter required.Python only: the TypeScript SDK has no equivalent.
Returns
dict[str, Any] — Dict with frame name, url, and the parameter used to switch.
Example
page.frame_main
Switch back to the main page frame, clearing the working iframe.Python only: the TypeScript SDK has no equivalent.
dict[str, str]
Example
page.frame_list
List all frames on the current page.Python only: the TypeScript SDK has no equivalent.
list[dict[str, Any]] — List of dicts with name, url, is_main, and index for each frame.
Example

