GREAT LOTUS icon

GREAT LOTUS

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

4. Browser Control → CloseOthersTab

AI-generated

Summary

Publishes an MQTT request for the browser.close_others_tab action to close every browser tab except the selected tab. Set the required topic and remote port to route the request to the intended session; optionally set Keep Index to choose the tab to retain.

Inputs

  • topic (required) — MQTT topic used to publish the request.
  • Remote Port (required) — CDP port used to route the action to the target browser session; defaults to the incoming remote_debugging_port value.
  • Keep Index — Optional tab index to keep open; leave blank to omit it from the request.
  • QoS — MQTT delivery quality level, from 0 (at most once) to 2 (exactly once); defaults to 1.
  • Include Input Items — When enabled, includes selected fields from incoming items in payload.inputItems.
  • Include Input Items Fields — Comma-separated field paths to include when Include Input Items is enabled; supports nested paths and array indexes.
  • Wait For Response — When enabled, waits for an MQTT response before returning output; defaults to disabled.
  • Response Timeout (sec) — Maximum wait time for an MQTT response, available when Wait For Response is enabled; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before continuing; runs after the response when waiting, or after publishing otherwise. Defaults to rand(200,1000).

Output shape

MQTT response data when waiting for a response; otherwise publish completion data.

Output fields depend on the response payload. If Include Input Items is enabled, selected incoming fields are attached to the request payload.

Links

Discussion