GREAT LOTUS PYAUTO WEB icon

GREAT LOTUS PYAUTO WEB

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

2. Mouse → mouse_scroll

AI-generated

Summary

Publish an MQTT request that scrolls a browser page by a specified pixel distance, optionally targeting a nested scroll area by moving the mouse to an XPath-selected element first. You can choose the direction and movement duration, and optionally include selected input fields, wait for a response, and delay the next workflow step.

Inputs

  • Topic (required) — MQTT topic used to route the request to a client or device.
  • QoS — MQTT delivery quality level; defaults to 1 (at least once).
  • Include Input Items — When enabled, attach selected fields from incoming items as payload.inputItems.
  • Include Input Fields — Comma-separated field paths to copy from incoming items when Include Input Items is enabled.
  • Wait For Response — Whether to wait for an MQTT response before returning output; defaults to false.
  • Response Timeout (sec) — Maximum wait time when waiting for a response; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay after publishing, or after receiving a response if waiting is enabled; defaults to rand(200,1000).
  • Remote Port (required) — CDP port used to route the scroll request to the intended worker session. Defaults to the incoming item's remote_port; use 127001 for a local session.
  • Pixels — Scroll distance in pixels; defaults to 300.
  • XPath — Optional XPath for an element to move the mouse to before scrolling, useful for selecting a nested scroll area.
  • Direction — Scroll direction, down or up; defaults to down.
  • Duration (ms) — Optional duration for the scroll movement.
  • Central Click — Optional flag controlling whether the pointer targets the element center or a randomized safe point; defaults to false.

Output shape

An MQTT response result when waiting is enabled; otherwise the operation proceeds after publishing and the configured delay.

Incoming fields are included only when enabled and selected. The operation's scroll request carries the configured inputs; the provided source excerpt does not show the precise response payload shape.

Links

Discussion