select_page
Switch between browser tabs by index, URL, or title to control which webpage is currently active for automation tasks.
Instructions
Select the active tab by index (preferred), or by matching URL/title. Index takes precedence when multiple parameters are provided.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageIdx | No | The index of the page to select (e.g., 0, 1, 2). Use list_pages first to see all available page indices. Most reliable method. | |
title | No | Select page by title (partial match, case-insensitive). Example: "Google" will match "Google Search - About" | |
url | No | Select page by URL (partial match, case-insensitive). Example: "github.com" will match "https://github.com/user/repo" |
Input Schema (JSON Schema)
{
"properties": {
"pageIdx": {
"description": "The index of the page to select (e.g., 0, 1, 2). Use list_pages first to see all available page indices. Most reliable method.",
"type": "number"
},
"title": {
"description": "Select page by title (partial match, case-insensitive). Example: \"Google\" will match \"Google Search - About\"",
"type": "string"
},
"url": {
"description": "Select page by URL (partial match, case-insensitive). Example: \"github.com\" will match \"https://github.com/user/repo\"",
"type": "string"
}
},
"required": [],
"type": "object"
}