switch_target_page
Rebind the automation target to a browser tab matching a URL substring and lock it. Use when the current test page is closed or you need to operate on another system page.
Instructions
显式切换/重绑 MCP 操作目标标签页(按 URL 子串匹配)并锁定。默认机制:首次调用自动锁定一个标签页,后续操作固定作用于该页,不受新开/切换标签页影响;测试页被误关或需操作另一系统页面时用本工具重绑。返回新目标页 URL/标题。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||