GREAT LOTUS icon

GREAT LOTUS

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

7. Others → switch_to_popup

AI-generated

Summary

Switches the active browser context to a popup whose title matches the supplied title, for example an OAuth or payment window. Publishes the action request over MQTT, optionally waits for a response, and can include selected fields from the incoming items.

Inputs

  • topic (required) — MQTT topic to publish the request on.
  • Remote Port (required) — CDP port used to route the request to the correct client session. Defaults to the incoming item's remote_debugging_port; the UI description also allows remote_port or the virtual local-session value 127001.
  • QoS — MQTT delivery quality level: 0 (at most once), 1 (at least once, default), or 2 (exactly once).
  • Include Input Items — When enabled, attaches selected fields from the incoming items as payload.inputItems. Use the accompanying field selector to specify paths such as id,name or status.detail.
  • Wait For Response — When enabled, waits 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 receiving the response if waiting is enabled, otherwise after publishing. Defaults to rand(200,1000).
  • Title — Title to match when switching to the popup. The UI describes this as optional; examples include Popup, VERIFY_POPUP, and Login.

Output shape

MQTT action output; may include the response and returned input items.

With Wait For Response disabled, the node publishes without waiting. With it enabled, the node waits up to the configured timeout. The source pack is a signature-level view and does not expose the complete response-to-output mapping.

Links

Discussion