Actions63
- 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 → SwitchTab
AI-generatedSummary
Switches browser focus to the tab at the specified zero-based index so subsequent browser actions target that tab. Publishes the action request over MQTT to the configured topic and remote port; it can optionally wait for a response and include selected incoming 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. Defaults to the incoming
remote_debugging_portvalue. - Index — Zero-based tab or context index to focus; defaults to
0. - QoS — MQTT delivery quality level: 0, 1, or 2; defaults to 1.
- Include Input Items — When enabled, adds incoming item data to
payload.inputItems; optionally specify fields to include. - Wait For Response — When enabled, waits for an MQTT response before returning, up to the configured timeout. 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 publishing, or after receiving the response when waiting is enabled; defaults to
rand(200,1000).}],
Output shape
A single output item containing the MQTT response when waiting is enabled; otherwise the operation publishes the request and returns without a response body.
The request includes the selected tab index in
payload.inputs. Selected incoming fields, when enabled, are attached underpayload.inputItems. The response may be parsed as JSON or returned as raw text depending on its content.
