wait_for_url
Wait until the tab's URL matches a pattern and the document is fully loaded, then return the final URL, title, and readyState.
Instructions
Wait for navigation to settle: blocks until the tab's URL matches url_pattern (regex, or plain substring) and — unless wait_ready=false — document.readyState is 'complete', then returns the final url, title and readyState. Use this after a click or open_url that navigates; wait_for(url_pattern=...) only checks the URL and can return while the new document is still blank. The server schedules short synchronous page checks. Delayed replies retain their operation_id for get_execute_js_result. A timed-out probe can release the tab without losing its receipt: reservation_held=false permits another command while the original reply remains collectible. When reservation_held is true or unknown, collect the original operation first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| session_id | No | ||
| wait_ready | No | ||
| url_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||