Actions63
- 1. Manager Actions
- 2. Mouse Actions
- 3. Keyboard Actions
- 4. Browser Control Actions
- 5. Element Actions
- 6. Image Actions
- 7. Others Actions
- 8. Email Actions
- 9. Developer Actions
- 10. General Debug Actions
7. Others → switch_to_frame
AI-generatedSummary
Publishes an MQTT request to switch the remote Playwright session into a selected iframe context, so later selectors run inside that frame. Optionally waits for a response and delays before continuing.
Inputs
- Topic (required) — MQTT topic used to publish the request.
- Remote Port (required) — CDP port used to route the action to the intended client session; defaults to the incoming
remote_debugging_portvalue. - QoS — MQTT delivery quality level (0, 1, or 2); defaults to 1.
- Include Input Items — When enabled, includes selected fields from incoming items in
payload.inputItems; choose fields with dot paths or array indexes. - Wait For Response — When enabled, waits for the MQTT response before returning; defaults to false.
- Response Timeout (sec) — Maximum response wait when waiting is enabled; defaults to 60 seconds.
- Delay Next Step (ms) — Delay before continuing; defaults to
rand(200,1000). Runs after the response if waiting is enabled, otherwise after publishing. - Frame — Frame selector passed in the action input, such as
index=0,name=frameName,css=iframe#id, ordefault. Leaving it blank means no frame value is supplied.
Output shape
A single operation result item containing the MQTT response payload when a response is received; when waiting is disabled, the operation proceeds after publishing.
The operation sends the selected Frame value as an action input. The available source pack omits implementation bodies, so the precise response envelope and publish-only output fields are not shown.
