Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt

Use this file to discover all available pages before exploring further.

The Tab Management node controls browser tabs, allowing you to open new tabs, switch between tabs, and close tabs.

Parameters

ParameterTypeRequiredDescription
tabActionstringYesAction to perform: OPEN, CLOSE, or SWITCH
urlstringNoURL to open (required for OPEN action)
tab_indexnumberNoIndex of tab to switch to or close (0-based)

Tab Actions

OPEN

Opens a new browser tab with the specified URL.

SWITCH

Switches focus to a tab at the specified index.

CLOSE

Closes a tab at the specified index (or current tab if not specified).

Examples

Open New Tab

Open a new tab with a URL:
{
  "id": "abc123",
  "name": "Open settings in new tab",
  "action": "TAB_MANAGEMENT",
  "parameters": {
    "tabAction": "OPEN",
    "url": "https://app.example.com/settings"
  }
}

Open Tab with Dynamic URL

Use variables in the URL:
{
  "id": "abc123",
  "name": "Open user profile",
  "action": "TAB_MANAGEMENT",
  "parameters": {
    "tabAction": "OPEN",
    "url": "https://app.example.com/users/{{context.inputs.user_id}}"
  }
}

Switch to Tab

Switch to a specific tab by index:
{
  "id": "abc123",
  "name": "Switch to first tab",
  "action": "TAB_MANAGEMENT",
  "parameters": {
    "tabAction": "SWITCH",
    "tab_index": 0
  }
}

Close Current Tab

Close the currently active tab:
{
  "id": "abc123",
  "name": "Close current tab",
  "action": "TAB_MANAGEMENT",
  "parameters": {
    "tabAction": "CLOSE"
  }
}

Notes

  • Tab indices are 0-based (first tab is index 0)
  • When opening a new tab, focus automatically switches to the new tab
  • Closing the last remaining workflow tab is rejected because it would destroy the browser window and end the session