Playwright MCP Server

by pvinis
MIT License
10
1

playwright_navigate

Navigate to a specified URL using a browser, configure viewport dimensions, and set navigation conditions and timeouts for web interactions or testing. Supports multiple browser types and headless mode.

Instructions

Navigate to a URL

Input Schema

NameRequiredDescriptionDefault
browserTypeNoBrowser type to use (chromium, firefox, webkit). Defaults to chromium
headlessNoRun browser in headless mode (default: false)
heightNoViewport height in pixels (default: 720)
timeoutNoNavigation timeout in milliseconds
urlYesURL to navigate to the website specified
waitUntilNoNavigation wait condition
widthNoViewport width in pixels (default: 1280)

Input Schema (JSON Schema)

{ "properties": { "browserType": { "description": "Browser type to use (chromium, firefox, webkit). Defaults to chromium", "enum": [ "chromium", "firefox", "webkit" ], "type": "string" }, "headless": { "description": "Run browser in headless mode (default: false)", "type": "boolean" }, "height": { "description": "Viewport height in pixels (default: 720)", "type": "number" }, "timeout": { "description": "Navigation timeout in milliseconds", "type": "number" }, "url": { "description": "URL to navigate to the website specified", "type": "string" }, "waitUntil": { "description": "Navigation wait condition", "type": "string" }, "width": { "description": "Viewport width in pixels (default: 1280)", "type": "number" } }, "required": [ "url" ], "type": "object" }
ID: iiafoz7ogl