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_frame

AI-generated

Summary

Switches the browser session into a specified iframe, or returns to the top-level page with default. Use it before targeting elements inside an iframe; the operation sends the request to the worker session identified by the remote CDP port.

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 — Defaults to false. When enabled, selected fields from incoming items are attached as payload.inputItems.
  • Include Input Fields — Field paths to include from incoming items, such as id,name or status.detail. Shown when Include Input Items is enabled.
  • Wait For Response — Defaults to false. When enabled, waits for an MQTT response before returning output.
  • Response Timeout (sec) — Maximum response wait time in seconds; defaults to 60 and is used when Wait For Response is enabled.
  • Delay Next Step (ms) — Delay before continuing after publishing, or after receiving a response when waiting; defaults to rand(200,1000).
  • Remote Port (required) — CDP port used to route the command to the intended browser session. Defaults to {{$json.remote_port}}; use 127001 for a local session as described in the field hint.
  • Frame — Iframe selection string: index=0, name=checkout_frame, or css=iframe#payment. Use default to return to the main page; may be left blank if no frame change is needed.

Output shape

MQTT operation output, optionally including a response and selected input item fields.

Input items are included only when enabled. The operation can continue after publishing or wait for a response up to the configured timeout.

Links

Discussion