midscene_set_active_tab
Switch browser focus to a specific tab by its ID using tabId. Use after identifying the tab ID with midscene_get_tabs for precise control in automated web testing workflows.
Instructions
Switches the browser's focus to the tab specified by its ID. Use midscene_get_tabs first to find the correct tab ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
tabId | Yes | The ID of the tab to set as active. |