midscene_set_active_tab
Set a specific browser tab as active using its unique ID. Requires tab ID from midscene_get_tabs for precise tab switching during automated test flows.
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. |