MQTT General

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

Mouse → mouse_scroll_bottom

AI-generated

Summary

Publish a mouse scroll-to-bottom action payload via MQTT to a specified topic, optionally including a duration for the scroll and waiting for a response on a designated MQTT topic.

Inputs

  • Topic (required) — The MQTT topic to which the mouse scroll-to-bottom action message is published.
  • QoS — The Quality of Service level for the MQTT publish (0, 1, or 2).
  • Include Input Items — If enabled, includes selected fields from the input items within the payload under inputItems.
  • Include Input Items Fields — Comma- or newline-separated list of fields to include from input items if Include Input Items is true.
  • Wait For Response — If true, the node waits for a reply message on a response topic before returning output.
  • Response Topic (required) — The MQTT topic to listen for a response if waiting for a response; defaults to 'RES_' plus the publish topic.
  • Response Timeout (ms) — Maximum time in milliseconds to wait for a response message.
  • Parse Response As JSON — If true, attempts to parse the response payload as JSON.
  • Duration (ms) — Optional duration in milliseconds that the scroll action should take; omit to let the system automatically determine duration based on scroll distance.

Output shape

a list of output items mirroring input items or a single output item if no inputs, each containing MQTT action details, published payload inputs, and optionally the response if Wait For Response is enabled

If Wait For Response is enabled and a response is received on the specified response topic within the timeout, the response is included on output. If the Wait For Response times out or an error occurs, the node either throws or continues on fail depending on configuration.

Examples

Example 1: Scroll to bottom with a 600 ms duration and no response wait

Topic set to 'playwright/mouse/scroll', QoS 1, Duration 600 ms, Wait For Response false

Example 2: Scroll to bottom and wait for a response

Topic set to 'playwright/mouse/scroll', QoS 1, Wait For Response true, Response Topic set to 'RES_playwright/mouse/scroll', Response Timeout 10000 ms, Response payload parsed as JSON

Links

Discussion