MQTT General

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

Browser Control → Next

AI-generated

Summary

Publish an MQTT message to a specified topic to instruct a browser to go to the next page, optionally waiting for and returning a response message.

Inputs

  • Topic (required) — MQTT topic to which the "next" action message is published, e.g., 'playwright/browser/next'.
  • QoS — The MQTT Quality of Service level for message delivery (0, 1, or 2).
  • Include Input Items — Whether to include selected fields from input items under 'payload.inputItems' in the published message.
  • Include Input Items Fields — Specific fields from previous input to include in 'payload.inputItems' when 'Include Input Items' is enabled.
  • Wait For Response — If enabled, the node waits for a reply message on a specified response topic before returning output.
  • Response Topic (required) — MQTT topic to subscribe to for receiving a response, defaulting to 'RES_'.
  • Response Timeout (ms) — Maximum time in milliseconds to wait for a response if 'Wait For Response' is enabled.
  • Parse Response As JSON — Whether to parse the response payload as JSON if possible.

Output shape

A list of output items each containing the original data merged with an mqtt property detailing the published topic, action, payload inputs, and optionally received response data if waiting for a response.

If 'Wait For Response' is enabled, the node subscribes to the specified response topic after publishing the action and waits up to the timeout for a response message. If a response is received, it is parsed as JSON if enabled and included in the output under mqtt.response. Errors will cause the node to fail unless 'Continue On Fail' is enabled, in which case the error message is returned in the output data.

Links

Discussion