Skip to content

Scroll

  • Type browser.scroll
  • Group Browser
  • Role action
  • Risk reads only
  • Side effect safe to repeat
  • Runs once per item
  • Needs browser

Scrolls the page or to an element

Also available to AI agents and over MCP as a tool.

to

To · string · required · default by · one of selector, bottom, top, by

selector

Selector · string · optional

A CSS selector, text=… or a Playwright locator. Use Pick element to take it from the live page.

Shown when to is selector.

pixels

Pixels · integer · optional

Shown when to is by.

  • main

← All nodes