GREAT LOTUS PYAUTO WEB icon

GREAT LOTUS PYAUTO WEB

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

7. Others → switch_to_popup

AI-generated

Summary

Switches the browser context to a popup whose title matches the supplied text, for example an OAuth sign-in or payment window. Route the request to the browser session using its Remote Port; the operation publishes an MQTT request and can optionally wait for a response and delay before continuing.

Inputs

  • Topic (required) — MQTT topic used to publish the request to the client.
  • QoS — MQTT delivery level; defaults to 1 (at least once).
  • Include Input Items — When enabled, includes selected fields from incoming items in payload.inputItems; defaults to false.
  • Include Input Fields — Comma-separated field paths to copy from incoming items when Include Input Items is enabled. Supports nested paths and array indexes.
  • Wait For Response — Wait for the MQTT response before returning output; defaults to false.
  • Response Timeout (sec) — Maximum wait when Wait For Response is enabled; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before continuing; defaults to rand(200,1000). Runs after the response when waiting, or after publishing otherwise.
  • Remote Port (required) — CDP port used to route the command to the correct worker browser session. Connect it from the profile-opening node; use 127001 for a local session.
  • Title — Full or partial popup title to match. May be left empty; supports expressions such as a title from incoming data.

Output shape

A single operation result item, optionally containing the MQTT response and included input fields.

The operation sends a request to the configured topic. Whether it returns after publishing or waits for a response depends on Wait For Response; response timeout applies only when waiting.

Links

Discussion