GREAT LOTUS icon

GREAT LOTUS

10 action groups: ManagerAction, MouseAction, KeyboardAction, BrowserControl, ElementAction, ImageAction, OthersAction, EmailAction, DeveloperAction, General Debug

4. Browser Control → CloseTab

AI-generated

Summary

Publishes an MQTT request to close a browser tab on the client session identified by Remote Port. Leave Index empty to close the active tab, or provide a zero-based tab index; optionally wait for the response and include selected input item fields.

Inputs

  • Topic (required) — MQTT topic used to publish the request.
  • Remote Port (required) — CDP port used to route the request to the intended browser session; can be supplied from an upstream profile-opening node.
  • Index — Zero-based tab index to close. When omitted, the request uses the active tab.
  • QoS — MQTT delivery quality level; defaults to 1 (at least once).
  • Include Input Items — When enabled, attach input data to the request; optionally specify field paths such as id,name or status.detail.
  • Wait For Response — When enabled, wait for an MQTT response before returning; defaults to false. Response Timeout applies when enabled.
  • Response Timeout (sec) — Maximum time to wait for a response; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before continuing. Runs after the response when waiting, or after publishing when not waiting; defaults to a random 200–1000 ms.

Output shape

A response-derived item when waiting for a response; otherwise the incoming item data, subject to Include Input Items settings.

The operation sends a request through MQTT. Exact response fields depend on the client response; the operation-scoped source view does not expose enough implementation detail to specify them.

Links

Discussion