direction
Direction to scroll ('up', 'down', 'left', 'right')
How to use it
direction is exposed by the MCP Web Browser MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the direction tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Web Browser
$
pip install mcp playwrightOther tools in MCP Web Browser (10)
amount
Amount to scroll ('page', 'half', or a number)
context
Optional context object (currently unused)
filter_pattern
Optional text pattern to filter links
full_page
Capture entire page screenshot
script
JavaScript code to execute
selector
Optional CSS selector to extract specific content
tab_id
ID of the tab to switch to
text
Text to input
timeout_ms
Maximum time to wait in milliseconds
url
Website to navigate to