Actions57
- 1. Manager Actions
- 2. Mouse Actions
- 3. Keyboard Actions
- 4. Browser Control Actions
- 5. Element Actions
- 6. Image Actions
- 7. Others Actions
- 8. Email Actions
- 9. Developer Actions
- 10. General Debug Actions
4. Browser Control → CloseTab
AI-generatedSummary
Closes a browser tab on the session routed by the supplied CDP remote port. Leave Index empty to close the active tab, or provide a zero-based index to close a specific tab; optionally wait for the MQTT response and attach selected input fields.
Inputs
- Topic (required) — MQTT topic used to publish the request to the client.
- QoS — MQTT delivery level: 0, 1, or 2; defaults to 1.
- Include Input Items — When enabled, includes selected fields from incoming items in payload.inputItems. Defaults to false.
- Include Input Fields — Comma-separated field names or paths to copy from incoming items when Include Input Items is enabled.
- Wait For Response — Whether to wait for the MQTT response before returning output. Defaults to false.
- Response Timeout (sec) — Maximum response wait in seconds when waiting is enabled; defaults to 60.
- Delay Next Step (ms) — Delay before continuing after publish, or after receiving the response when waiting is enabled. Defaults to rand(200,1000).
- Remote Port (required) — CDP port used to route the close request to the intended browser session. Defaults to the incoming remote_port value; 127001 denotes a local session.
- Index — Zero-based tab index to close. Leave empty to close the active tab.
Output shape
A list of items containing the MQTT response, or the publish result when response waiting is disabled.
The source defines response parsing and optional inclusion of inputItems, but the supplied source view omits method bodies, so exact output fields and response behavior cannot be determined.
