GREAT LOTUS PYAUTO WEB icon

GREAT LOTUS PYAUTO WEB

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

3. Keyboard → vpaste

AI-generated

Summary

Publishes an MQTT request to paste virtual clipboard content into a target element specified by XPath or the currently focused element.

Inputs

  • topic (required) — MQTT topic to publish the request to (e.g., WP2_PC176 or device/pc_01/action).
  • keyboard_vpaste__remote_port (required) — Remote port (CDP) for session routing. Connect this directly from a 'Browser Connect' node (default value: 127001 for local).
  • keyboard_vpaste__index — Index of the virtual clipboard slot to paste. Must match the slot number saved by 'vcopy'. Defaults to 0.
  • keyboard_vpaste__xpath — XPath selector for the target element. If empty, pastes into the currently focused element.
  • qos — MQTT Quality of Service level (0, 1, or 2). Defaults to 1.
  • includeInputItems — If true, attaches data from the previous node to the payload's inputItems field.
  • includeInputItemsFields — Comma-separated list of field paths (e.g., 'id,name,status.detail') to select from input items if includeInputItems is true.
  • waitForResponse — If true, waits for the MQTT response before proceeding to the next step.
  • responseTimeoutSec — Maximum seconds to wait for the response when waitForResponse is true. Defaults to 60.
  • delayNextStepMs — Delay in milliseconds before the next step. Defaults to a random value between 200 and 1000.

Output shape

A single item containing the MQTT response payload (status, details, or error).

If 'Wait For Response' is disabled, the node returns immediately after publishing.

Examples

Example 1: Paste content from virtual clipboard slot 0 into a specific input field.

topic: device/action, remote_port: 127001, xpath: //input[@name='email'], index: 0, waitForResponse: true

Example 2: Paste into the currently focused element without waiting for a response.

topic: WP2_PC176, remote_port: 8888, index: 1, waitForResponse: false

Example 3: Attach input data and paste into a focused element.

topic: pyauto/mouse/click, remote_port: 127001, includeInputItems: true, includeInputItemsFields: id,name, waitForResponse: true

Links

Discussion