Skip to main content
Glama

Better Playwright MCP

by livoras

closePageByIndex

Close a specific browser tab by its index number in Better Playwright MCP, enabling precise control over web interactions during automation.

Instructions

通过索引关闭页面

Input Schema

NameRequiredDescriptionDefault
indexYes页面索引

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "index": { "description": "页面索引", "type": "number" } }, "required": [ "index" ], "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/livoras/better-playwright-mcp'

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