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
2. Mouse → mouse_click_and_hold
AI-generatedSummary
Publishes an MQTT request that presses and holds a mouse button on a page element or screen coordinate. The button remains held after the action, so call mouse_release in a later step to finish a drag or text selection.
Inputs
- Topic (required) — MQTT topic used to publish the request.
- Remote Port (required) — CDP port used to route the action to the intended browser session; commonly mapped from the profile-opening node’s
remote_debugging_portoutput. - QoS — MQTT delivery quality level; 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 fire-and-forget.
- Response Timeout (sec) — Maximum response wait when waiting is enabled; defaults to 60 seconds.
- Delay Next Step (ms) — Delay before continuing after publishing, or after receiving a response when waiting is enabled. Supports expressions such as
rand(200,1000). - Target — Page element selector, such as
css=button; may be omitted. - XPath — XPath selector for the target element; may be omitted.
- X — Optional screen x-coordinate for the mouse action.
- Y — Optional screen y-coordinate for the mouse action.
- Button — Mouse button to hold:
left(default),middle, orright. - Central Click — When true, clicks the center of the element; when false, uses a random point within its safe area. Defaults to false.
Output shape
Workflow items containing the MQTT response when waiting is enabled; otherwise, output follows the node’s publish-only path.
The source pack provided is signature-level and does not show the execute implementation’s return construction, so the exact output fields and publish-only item behavior cannot be determined from the supplied source.
