Actions72
- Tab Actions
- Page Actions
- DOM Actions
- Group Actions
- Window Actions
- Session Actions
- Storage Actions
- Performance Actions
- Extension Actions
- Client Actions
- Command Actions
DOM → Scroll
AI-generatedSummary
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.