Skip to main content
Glama

Playwright MCP

browser_resize

Adjust browser window dimensions using precise width and height inputs to optimize web page testing and interaction within the Playwright MCP environment.

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

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