select_page
Adopt popups or new tabs opened by a session to control them with automated actions, capturing early network traffic.
Instructions
Adopt a popup or new tab this session opened (window.open, target=_blank, OAuth/payment windows) as a NEW session id you can drive with every normal tool — clicks, assertions, logs. Console/network recording attaches the instant the driver sees the popup open, so early traffic is captured (requests firing in the popup's first milliseconds can precede any driver's visibility — a browser-automation limit, not a periscope one). Returns {session_id, url, title}; with several popups open, call without index to list them first. The parent session keeps working for the original tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Which open popup to adopt, 0-based (omit when only one is open, or to list them) | |
| session_id | Yes | Root session that opened the popup |