Skip to main content
Glama

scroll_to

Scroll a specific element into the viewport using a snapshot reference or CSS selector. Control vertical alignment with start, center, end, or nearest, and choose between smooth or instant scroll.

Instructions

Smooth-scroll a specific element into viewport.

Args:
    ref: snapshot ref (e.g. "e7") from browser_snapshot
    selector: CSS selector alternative
    block: "start" | "center" | "end" | "nearest" — vertical alignment
    smooth: CSS smooth scroll (default) vs instant jump

Works even if element is far off-screen (pages of scroll away).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
selectorNo
blockNocenter
smoothNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RobithYusuf/mcp-stealth-chrome'

If you have feedback or need assistance with the MCP directory API, please join our Discord server