GREAT LOTUS icon

GREAT LOTUS

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

9. Developer → capture

AI-generated

Summary

Publishes an MQTT request for the developer.capture action to capture a page or screenshot and save it as a PNG on the client machine. Set the required topic and remote port to route the request; configure the capture options and choose whether to wait for the client response.

Inputs

  • Topic (required) — MQTT topic used to publish the request.
  • Remote Port (required) — Client CDP session port used to route the request. The default reads remote_debugging_port from the incoming item; the UI also documents remote_port and 127001 for a local session.
  • QoS — MQTT delivery level: 0, 1, or 2; defaults to 1.
  • Include Input Items — When enabled, attaches selected fields from incoming items as payload.inputItems. Specify fields using comma-separated paths, including nested paths such as status.detail.
  • Wait For Response — When enabled, waits for an MQTT response before returning output. Defaults to false.
  • Response Timeout (sec) — Maximum response wait time when waiting is enabled; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before the workflow continues. Defaults to rand(200,1000); runs after the response when waiting is enabled, or after publishing otherwise.
  • Workflow — Workflow name attached to the capture request or result; defaults to workflow.
  • Folder — Folder used to save the capture on the client; defaults to ..
  • Full Page — When enabled, captures the full page rather than only the visible viewport; defaults to true.

Output shape

MQTT response data when waiting is enabled; otherwise the node publishes the request and returns without waiting for a response.

Selected incoming fields can be included in the request as payload.inputItems. The capture is saved as a PNG on the client. The operation’s properties do not declare the exact response fields.

Links

Discussion