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
3. Keyboard → vpaste
AI-generatedSummary
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
