Skip to main content

switch_to_tab

Navigation

Switches control to a browser tab by index or URL pattern.

Parameters

Parameter Type Required Default Description
index number Yes 0 Tab index to switch to
fallback_url string No If tab not found, open this URL in new tab

Usage Example

RTILA X PROJECT JSON

    {
  "command": "switch_to_tab",
  "params": {
    "index": 1,
    "fallback_url": ""
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?