MQTT General

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

Browser Control → URL

AI-generated

Summary

Publish a MQTT message to control a browser to navigate to a specified URL, optionally waiting for a response message on a specified MQTT topic.

Inputs

  • Topic (required) — The MQTT topic to which the control message will be published.
  • QoS — The MQTT Quality of Service level for publishing the message (0, 1, or 2). Defaults to 1.
  • Include Input Items — Whether to include selected input fields from the workflow's input items in the MQTT payload.
  • Include Input Items Fields — Selected fields from previous input to include in the payload if 'Include Input Items' is enabled.
  • Wait For Response — If true, the node waits for a reply message on the response topic before outputting data.
  • Response Topic (required) — The MQTT topic to subscribe to for receiving a reply message when waiting for response; defaults to 'RES_' plus the publish topic.
  • Response Timeout (ms) — Maximum time in milliseconds to wait for the response message when 'Wait For Response' is enabled; default is 10000 ms.
  • Parse Response As JSON — Whether to parse the response payload as JSON if possible prior to output.
  • URL (required) — The URL to navigate the controlled browser to.
  • Wait Until — Navigation wait strategy to determine when to consider navigation complete (e.g., 'load', 'domcontentloaded', 'networkidle', 'commit'); defaults to 'load'.
  • Timeout (sec) — The maximum time in seconds to wait for the navigation to complete; defaults to 30 seconds.

Output shape

A list of workflow items, each augmented with an 'mqtt' JSON value containing published topic, action metadata, control inputs, and optionally the response if 'Wait For Response' was enabled.

If 'Wait For Response' is enabled, the node subscribes to the specified response MQTT topic and waits up to the given timeout to receive a reply before outputting. The response payload is parsed as JSON if enabled. Errors during MQTT publish or response wait are thrown unless 'Continue On Fail' is enabled, in which case an error message is returned in the output JSON.

Examples

Example 1: Navigate a browser to 'https://example\.com' by publishing the appropriate MQTT message to topic 'playwright/navigation'.

Set 'Topic' to 'playwright/navigation', 'URL' to 'https://example.com', optionally configure 'Wait Until' and 'Timeout', choose QoS, and disable waiting for response.

Example 2: Send a navigation command and wait for a response on 'RES_playwright/navigation'.

Enable 'Wait For Response', specify (or accept default) 'Response Topic' as 'RES_playwright/navigation', define timeout and JSON parsing settings.

Links

Discussion