Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

playwright.scroll

AI-generated

Summary

Execute or queue a scroll action in a remote desktop session.

Inputs

  • mode — Run executes immediately and returns result; Build queues the action for later batch execution. Defaults to Run.
  • sessionId (required) — ID of the remote desktop session, typically from a Session node.
  • delta_x — Horizontal scroll distance in pixels.
  • delta_y — Vertical scroll distance in pixels.
  • selector — CSS selector of the target element to scroll into view.

Output shape

array of objects, each containing a json field with the API response (or queued state) and a pairedItem field linking to the input index

The array length matches the number of input items; each element may include an error message if processing fails and continueOnFail is enabled.

Examples

Example 1: Scroll down 200 pixels in a page identified by selector '#main'

mode=run, sessionId= {{ $json.session.id }}, selector='.page-content', delta_x=0, delta_y=200

Example 2: Queue a scroll action for later batch execution

mode=build, sessionId= {{ $json.session.id }}, selector='button#next', delta_x=0, delta_y=100

Example 3: Scroll horizontally using delta_x and delta_y values

mode=run, sessionId= {{ $json.session.id }}, delta_x=50, delta_y=0

Discussion