Actions45
- Manager Actions
- Mouse Actions
- Keyboard Actions
- Browser Control Actions
- Element Actions
- Image Actions
- Others Actions
- Email Actions
- Developer Actions
- General Debug Actions
Browser Control → CloseOthersTab
AI-generatedSummary
Close all browser tabs except for one specified by its index using MQTT messaging through the 'Browser Control' resource.
Inputs
- Topic (required) — MQTT topic used to publish the close others tab action message.
- QoS — The MQTT Quality of Service level for message delivery (0, 1, or 2). Defaults to 1.
- Include Input Items — Whether to include selected fields from input items in the MQTT payload under payload.inputItems.
- Include Input Items Fields — Comma or newline-separated list of input JSON fields to include in the payload if 'Include Input Items' is true.
- Wait For Response — Whether to wait for a MQTT response message on a response topic before returning output.
- Response Topic (required) — MQTT topic to subscribe for a response message when waiting for response; defaults to 'RES_' plus the publish topic.
- Response Timeout (ms) — Maximum time in milliseconds to wait for a response message if 'Wait For Response' is enabled; default is 10000 ms.
- Parse Response As JSON — Whether to parse the response payload as JSON when possible; defaults to true.
- Keep Index — Index of the browser tab to keep open while closing all others; leave empty to close all tabs.
Output shape
a list of items, each containing the original input data augmented with MQTT details about the action executed and, if applicable, the received response
If 'Wait For Response' is enabled, the node waits for and includes a response message received on the specified response topic within the timeout before completing. The MQTT payload includes the action key 'browser.close_others_tab' and the 'keep_index' parameter if provided.