wait_for_popup
Wait for a popup opened by your last navigate, click, fill, scroll or evaluate, even one that has already opened, and return its page_id. In a supervised session the popup becomes current. In other sessions, call switch_page or pass page_id. A popup Rove blocks answers popup-blocked at once instead of waiting. After a human returns control, a popup they opened counts; pass after_seq to wait for a newer one.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_seq | No | Wait for a popup after this page event seq, such as an earlier result's page_events_seq_start. | |
| session_id | Yes | Browser session ID | |
| timeout_ms | No | How long to wait, in milliseconds. Default: 10000; maximum 30000. |