Actions57
- 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
9. Developer → get_active_code
AI-generatedSummary
Requests the active browser frame’s HTML from the selected worker session, optionally including selected incoming item fields. Can return immediately after publishing or wait for the MQTT response before continuing, then applies the configured delay.
Inputs
- topic (required) — MQTT topic used to publish the request to the client.
- qos — MQTT delivery level; defaults to 1 (at least once).
- includeInputItems — When enabled, attaches incoming item data as payload.inputItems; defaults to false.
- includeInputItemsFields — Comma-separated field paths to copy from incoming items when input data is enabled. Supports nested paths and array indexes.
- waitForResponse — When enabled, waits for the MQTT response before returning; defaults to false.
- responseTimeoutSec — Maximum response wait in seconds when waiting is enabled; defaults to 60.
- delayNextStepMs — Delay before continuing. Runs after the response when waiting is enabled, or after publishing otherwise; defaults to rand(200,1000).
- developer_getcode__remote_port (required) — CDP remote port used to route the request to the intended browser session. Usually mapped from the profile-opening node’s remote_port; use 127001 for a local session.
Output shape
A single result item containing the MQTT response when waiting is enabled; otherwise the node proceeds after publishing without waiting for a response.
The operation requests the active frame’s HTML for inspecting the currently rendered page and building selectors. The source excerpt omits function bodies, so the exact response field names and publish-only output shape are not shown.
