MCPVault

scroll

MCP tool from MCP by webdriverio

Scroll in a direction (up/down) by specified pixels. Browser-only.

How to use it

scroll is exposed by the MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the scroll tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP

$claude mcp add wdio-mcp -- npx -y @wdio/mcp@latest
FULL MCP LISTING

Other tools in MCP (30)

attach_session

Attach to an existing remote WebDriver/Appium session by ID without creating a new session

click_element

Click an element

close_session

Close or detach from the current session (supports detach: true to disconnect without terminating)

delete_cookies

Delete all cookies or a specific cookie

drag_and_drop

Drag from one location to another

emulate_device

Emulate a mobile/tablet device preset (viewport, DPR, UA, touch); requires BiDi session

execute_script

Execute arbitrary JavaScript in the browser, or Appium mobile commands on devices

get_accessibility_tree

Get the page accessibility tree with roles, names, and selectors. Supports filtering by role and pagination. Browser-only.

get_app_state

Get the current lifecycle state of a mobile app (not installed / not running / background / foreground)

get_contexts

List available automation contexts (NATIVEAPP, WEBVIEW) and the currently active one

get_cookies

Get all cookies for the current session, or a single cookie by name

get_elements

Get visible, interactable elements on the page. Supports inViewportOnly (default: true) to filter viewport elements, and includeContainers (default: false) to include layout containers on mobile

get_screenshot

Take a screenshot of the current page or screen (base64-encoded, auto-resized to max 2000px / 1MB)

get_tabs

List all open browser tabs with handle, title, URL, and active status. Browser-only.

hide_keyboard

Hide on-screen keyboard

launch_chrome

Launch a new Chrome instance with remote debugging enabled (for use with startsession({ attach: true }))

list_apps

List apps previously uploaded to the provider's app storage

navigate

Navigate to a URL

open_web_extension

Install a web extension through WebDriver BiDi and open one of its extension pages so normal page tools can drive its UI

rotate_device

Rotate to portrait or landscape

set_cookie

Set a cookie with name, value, and optional attributes

set_geolocation

Set device GPS location

set_value

Type text into input fields

start_session

Start a new browser or app session; attach: true retains the existing Chrome CDP connection mode

swipe

Swipe in a direction (up/down/left/right)

switch_context

Switch between native and webview contexts

switch_frame

Switch into an iframe by CSS/XPath selector, or back to the top-level frame if no selector is given. Browser-only.

switch_tab

Switch to a different browser tab by handle or 0-based index. Browser-only.

tap_element

Tap an element by selector or coordinates

upload_app

Upload a local .apk or .ipa to the provider; returns an app URL/reference