scrollToTop
Scroll a webpage or specific element to the top using a page ID and optional selector. Built for Better Playwright MCP, it simplifies navigation in automated browser interactions.
Instructions
滚动到页面或元素顶部
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageId | Yes | 页面ID | |
selector | No | 元素的xp引用值,如果不提供则滚动页面到顶部 | |
waitForTimeout | No | 操作后等待获取快照的延迟时间(毫秒,默认2000) |