Browser CLI icon

Browser CLI

Control a remote browser by talking directly to a browser-cli serve endpoint

DOM → Scroll

AI-generated

Summary

Scrolls the active browser page to a CSS-selected element or to the specified horizontal and vertical coordinates. The browser-cli server must permit control commands.

Inputs

  • selector — CSS selector for the element to scroll to. Leave empty to scroll by position.
  • x — Horizontal scroll position when no selector is provided; defaults to 0.
  • y — Vertical scroll position when no selector is provided; defaults to 0.

Output shape

One or more n8n items containing the raw browser-cli command result.

The server response's data field is returned when present; arrays become multiple items, while other values become a single item. Empty selector or coordinate values are omitted from the command arguments. Requires the browser-cli server to allow control commands.

Links

Discussion