GREAT LOTUS icon

GREAT LOTUS

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

2. Mouse → mouse_scroll

AI-generated

Summary

Publishes an MQTT request for the mouse.mouse_scroll action, asking the remote session to scroll by a specified number of pixels. Optionally targets an element so scrolling occurs in its scrollable region, waits for a response, and delays before passing control to the next step.

Inputs

  • topic (required) — MQTT topic used to publish the request.
  • Remote Port (required) — CDP port used to route the request to the intended client session; supports the configured local-session value 127001.
  • QoS — MQTT delivery quality level: 0, 1, or 2.
  • Include Input Items — When enabled, attaches selected fields from the incoming items as payload.inputItems; choose fields with includeInputItemsFields.
  • Wait For Response — When enabled, waits for an MQTT response before returning output.
  • Response Timeout (sec) — Maximum time to wait for a response when waiting is enabled.
  • Delay Next Step (ms) — Delay before proceeding; applied after the response when waiting, or after publishing otherwise. The default is rand(200,1000).
  • Pixels — Scroll distance in pixels; defaults to 300.
  • Target — Selector for an element to scroll within, such as id=demoInput or css=button. Leave empty to scroll the page.
  • XPath — XPath selector for the target element when needed.
  • Direction — Scroll direction: down (default) or up.
  • Duration (ms) — Optional scroll duration in milliseconds; blank omits the value.
  • Central Click — Boolean option declared in the UI. Its effect on this scroll action is not established by the available source view.

Output shape

A single output item per input item, containing the MQTT response when waiting is enabled; otherwise the node publishes and proceeds without waiting for a response.

The request carries the scroll action parameters under payload.inputs; selected incoming fields, if enabled, are attached under payload.inputItems. Response parsing and any additional response fields depend on the MQTT message received.

Links

Discussion