Skip to main content
Glama

Playwright MCP Server

Official
by microsoft

browser_resize

Resize browser windows to specified dimensions for precise testing and interaction on web pages, ensuring accurate layout and functionality verification.

Instructions

Resize the browser window

Input Schema

NameRequiredDescriptionDefault
heightYesHeight of the browser window
widthYesWidth of the browser window

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "height": { "description": "Height of the browser window", "type": "number" }, "width": { "description": "Width of the browser window", "type": "number" } }, "required": [ "width", "height" ], "type": "object" }

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/microsoft/playwright-mcp'

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