MQTT General

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

Others → switch_to_popup

AI-generated

Summary

Send an MQTT message to command the Playwright browser to switch focus to a popup window identified by its title keyword.

Inputs

  • Topic (required) — MQTT topic to publish the command message to, such as 'playwright/browser/control'.
  • QoS — Quality of Service level for the MQTT publish (0, 1, or 2).
  • Include Input Items — Optionally include selected input data fields in the MQTT message payload.
  • Include Input Items Fields — Specify which input fields to include in the payload if enabled.
  • Wait For Response — Wait for a reply message on a specified response topic before returning output.
  • Response Topic — MQTT topic to listen on for a response when waiting is enabled; defaults to 'RES_'.
  • Response Timeout (ms) — Maximum time in milliseconds to wait for the response message.
  • Parse Response As JSON — Parse the response payload as JSON if possible.
  • Title — Keyword of the popup window title to locate and switch to.

Output shape

a list of items, each with JSON containing the MQTT topic, action details, payload sent, and optionally the response received if wait was enabled.

Outputs one item per input item preserving input data and appending the MQTT message info. If 'Wait For Response' is enabled, output includes the response message payload or an error if timed out.

Links

Discussion