browser_wait_for_navigation
Wait for the next navigation event to a new URL after an action like a click. Specify a timeout to avoid indefinite waiting.
Instructions
Wait for the page to navigate to a new URL. It waits for the next navigation event, so a navigation that already finished is not seen and the call waits until timeout_ms. Pages that update without changing URL (AJAX/SPA) fire no navigation event. Optional timeout_ms (default 30000ms).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by browser_navigate | |
| timeout_ms | No | How long to wait in milliseconds (default 30000, max 60000) |