Actions45
- Manager Actions
- Mouse Actions
- Keyboard Actions
- Browser Control Actions
- Element Actions
- Image Actions
- Others Actions
- Email Actions
- Developer Actions
- General Debug Actions
Mouse → many_click
AI-generatedSummary
Send a MQTT message to perform multiple mouse clicks repeatedly on a specified target until a stop condition is met or a timeout occurs, optionally waiting for a response message.
Inputs
- Topic (required) — MQTT topic to publish the mouse action message to.
- QoS — MQTT Quality of Service level for the message.
- Include Input Items — Include selected input fields from previous nodes in the payload.
- Include Input Items Fields — Specific input fields from previous nodes to include in the payload if Include Input Items is true.
- Wait For Response — Whether to wait for a reply message on a response topic before returning output.
- Response Topic (required) — MQTT topic to listen for a response if Wait For Response is enabled.
- Response Timeout (ms) — Maximum time to wait for a response in milliseconds if Wait For Response is enabled.
- Parse Response As JSON — Whether to parse the received response payload as JSON if Wait For Response is enabled.
- Target — High-level locator string for the mouse clicks (e.g. id=btnMany, css=button.submit).
- XPath — Explicit XPath locator if not using the Target parser.
- X — Absolute X coordinate for clicking, optional.
- Y — Absolute Y coordinate for clicking, optional.
- Stop Condition — Locator; when this appears, repeated clicking stops.
- Interval (sec) — Sleep interval between retry attempts in seconds.
- Timeout (sec) — Total timeout duration in seconds for repeated clicking.
- Button — Mouse button to use for clicks: left, middle, or right.
- Clicks — Number of mouse clicks in each click action.
Output shape
a list of items, each reflecting input items with added mqtt action details and optionally the response if waiting for it
If Wait For Response is enabled, the node subscribes to the specified response topic and includes the response payload in the output; otherwise, it only publishes the click action message without waiting. Errors during MQTT publish or response fetching may cause node failure unless continueOnFail is enabled.
Examples
Example 1: Publish repeated mouse click actions to an MQTT broker on topic 'playwright/mouse/click' targeting element with id 'btnMany', clicking once each time with left mouse button, stopping when element with id 'stopCondition' appears or after 30 seconds timeout, publishing with QoS 1, and waiting for a response on the 'RES_playwright/mouse/click' topic parsing the response as JSON.
Set Topic to 'playwright/mouse/click', QoS to 1, Target to 'id=btnMany', Stop Condition to 'id=stopCondition', Interval to 1 second, Timeout to 30 seconds, Button to 'left', Clicks to 1, enable Wait For Response with Response Topic 'RES_playwright/mouse/click', Response Timeout 10000 ms, and Parse Response As JSON enabled.